Skip to content

trustAnchorFromCertificate

Extracts a TrustAnchor from a parsed certificate, copying the subject, SPKI, and key identifiers.

ts
function trustAnchorFromCertificate(
	certificate: ParsedCertificate,
): TrustAnchor

Parameters

Released under the MIT License.