Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCert ¶
func GetCert() (*tls.Certificate, error)
func GetCertPool ¶
func GetCurrentIdentity ¶
func IDFromCert ¶
func IDFromCert(cert *x509.Certificate) (spiffeid.ID, error)
IDFromCert extracts the SPIFFE ID from the URI SAN of the provided certificate. It will return an an error if the certificate does not have exactly one URI SAN with a well-formed SPIFFE ID.
func VerifyIdentity ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.