Skip to content

CertificateFingerprintAlgorithm ​

CertificateFingerprintAlgorithm ​

Digest algorithms supported by certificateFingerprint.

SHA-1 is intentionally included: legacy ecosystems (PGP-adjacent tooling, older certificate pinning) still identify certificates by their SHA-1 fingerprint. Prefer SHA-256 for anything new.

ts
type CertificateFingerprintAlgorithm = "SHA-1" | "SHA-256" | "SHA-384" | "SHA-512"

Released under the MIT License.