Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Additional ¶
type Additional struct { CommonName string Hash [32]byte NotAfter time.Time Issuer string PublicKey PubKey SignatureAlgorithm x509.SignatureAlgorithm }
Additional is the additional certificates (eg.: intermediate cert)
type Cert ¶
type Cert struct { CommonName string Hash [32]byte // SHA256 AlternativeNames []string SignatureAlgorithm x509.SignatureAlgorithm PublicKey PubKey SerialNumber *big.Int Issuer string NotBefore time.Time NotAfter time.Time Verified bool VerifiedError error // This is set if Verified == false Chain []Additional }
Cert is hold the fields "interesting" part of the certficate chain.
type PubKey ¶
type PubKey struct { Algo x509.PublicKeyAlgorithm Key any // *rsa.PublicKey, *ed25519.PublicKey, ... }
Click to show internal directories.
Click to hide internal directories.