trustAnchorFromCertificate
Extracts a TrustAnchor from a parsed certificate, copying the subject, SPKI, and key identifiers.
ts
function trustAnchorFromCertificate(
certificate: ParsedCertificate,
): TrustAnchorParameters
certificate:ParsedCertificate