Functions
Link copied to clipboard
Accepts a chain in which some certificate, the trust anchor included, has a public key whose SHA-256 digest is one of pins: the digest of the DER-encoded SubjectPublicKeyInfo, as RFC 7469 §2.4 defines it (pin-sha256, which is its Base64 form). Pinning a key rather than a certificate survives the certificate's renewal with the same key; list a backup key too, as §4.3 advises.