Skip to content

CertificateFingerprintSource ​

CertificateFingerprintSource ​

A PEM string, raw DER bytes, or an already-parsed certificate.

Mirrors the source union accepted by the verification, revocation, and PKCS APIs so a fingerprint can be taken from whatever a caller already holds.

ts
type CertificateFingerprintSource = string | Uint8Array | ParsedCertificate

Released under the MIT License.