Documentation
¶
Overview ¶
Package cert provides X.509 fingerprint helpers used by the CLI's cert subcommands. Mirrors github.com/apoxy-dev/apoxy-cloud/core/cert so the CLI doesn't pull a cosmos module dependency.
Index ¶
Constants ¶
View Source
const FingerprintSize = sha1.Size
FingerprintSize is the byte length of a SHA1 cert fingerprint.
Variables ¶
This section is empty.
Functions ¶
func Fingerprint ¶
Fingerprint returns the lowercase hex SHA1 of the cert's DER bytes. The resulting string is the canonical form cosmos persists and what ext_authz / RevokeServiceCert compare against.
func NormalizeFingerprint ¶
NormalizeFingerprint validates and lowercases a SHA1 fingerprint string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.