Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrClientCertificateNotPresent = errors.New("client certificate not presented") ErrClientCertificateError = errors.New("client certificate error") )
Functions ¶
func GetClientCertificate ¶ added in v0.2.30
func GetClientCertificate(in string) (*x509.Certificate, error)
GetClientCertificate retrieves the client certificate from headers injected by the ingress controller.
func GetClientCertificateHeader ¶ added in v0.2.30
GetClientCertificateHeader extracts a client certificate from any present headers. TODO: may need to extract into a canonical form. NOTE: propagation at present expects this to be url encoded.
func GetClientCertiifcateThumbprint ¶ added in v0.2.30
func GetClientCertiifcateThumbprint(certificate *x509.Certificate) string
GetClientCertiifcateThumbprint returns the client certificate thumbprint as defined by RFC8705.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.