Ssl::Fingerprint::Pki::Sha256 Struct Reference

Fingerprint based on the SHA256 value of the Public Key Subject in the certificate. More...

#include <Fingerprints.h>

Collaboration diagram for Ssl::Fingerprint::Pki::Sha256:

Public Attributes

Crypto::Sha256::Hash hash
 

Static Public Attributes

static constexpr Type type = Type::PkiSha256
 

Detailed Description

Fingerprint based on the SHA256 value of the Public Key Subject in the certificate.

For HTTP public key pinning (RFC7469), the SHA-256 hash of the Subject Public Key Info (which usually only changes when the public key changes) is used.

Advantages: Doesn't change frequently

Disadvantages: Takes more time (in ms) to verify.

Member Data Documentation

◆ hash

Crypto::Sha256::Hash Ssl::Fingerprint::Pki::Sha256::hash

◆ type

constexpr Type Ssl::Fingerprint::Pki::Sha256::type = Type::PkiSha256
staticconstexpr

The documentation for this struct was generated from the following file: