pub fn authority_node_from_cert(
cert: &Certificate,
id: &str,
kind: AuthorityKind,
quorum: Option<Quorum>,
) -> SignatifResult<AuthorityNode>Expand description
Build a trust-graph node from a certificate: the key is the certificate’s subject public key, the scope comes from the scope extension, and the kind defaults as given (the caller knows roots from the anchor bundle).
§Errors
Propagates scope-extension decoding errors.