Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMinimalX509CertFromKeyring ¶
func NewMinimalX509CertFromKeyring(keyring types.PeerKeyring) (tls.Certificate, error)
Generates a minimal certificate (that wouldn't be considered valid outside this telemetry networking protocol) from a PeerKeyring.
func PubKeyFromCert ¶
func PubKeyFromCert(cert *x509.Certificate) (pk types.PeerPublicKey, err error)
func VerifyCertMatchesPubKey ¶
func VerifyCertMatchesPubKey(publicKey [32]byte) func(rawCerts [][]byte, verifiedChains [][]*x509.Certificate) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.