Documentation ¶
Index ¶
- func ClaimedPeerIdentity(c *tls.ConnectionState) identity.Identity
- func NewTlsClient(vault identity.VaultI) (*tls.Config, error)
- func VerifyPeerCertificate(certificates [][]byte, verifiedChains [][]*x509.Certificate) error
- func VerifyPeerIdentity(expected *identity.Identity) func(certificates [][]byte, verifiedChains [][]*x509.Certificate) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClaimedPeerIdentity ¶
func ClaimedPeerIdentity(c *tls.ConnectionState) identity.Identity
func NewTlsClient ¶
func VerifyPeerCertificate ¶
func VerifyPeerCertificate(certificates [][]byte, verifiedChains [][]*x509.Certificate) error
func VerifyPeerIdentity ¶
func VerifyPeerIdentity(expected *identity.Identity) func(certificates [][]byte, verifiedChains [][]*x509.Certificate) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.