var clientCertificateExpirationHistogram …
func init() { … }
type UserConversion …
type UserConversionFunc …
func (f UserConversionFunc) User(chain []*x509.Certificate) (*authenticator.Response, bool, error) { … }
func columnSeparatedHex(d []byte) string { … }
func certificateIdentifier(c *x509.Certificate) string { … }
type VerifyOptionFunc …
type Authenticator …
func New(opts x509.VerifyOptions, user UserConversion) *Authenticator { … }
func NewDynamic(verifyOptionsFn VerifyOptionFunc, user UserConversion) *Authenticator { … }
func (a *Authenticator) AuthenticateRequest(req *http.Request) (*authenticator.Response, bool, error) { … }
type Verifier …
func NewVerifier(opts x509.VerifyOptions, auth authenticator.Request, allowedCommonNames sets.String) authenticator.Request { … }
func NewDynamicCAVerifier(verifyOptionsFn VerifyOptionFunc, auth authenticator.Request, allowedCommonNames StringSliceProvider) authenticator.Request { … }
func (a *Verifier) AuthenticateRequest(req *http.Request) (*authenticator.Response, bool, error) { … }
func (a *Verifier) verifySubject(subject pkix.Name) error { … }
func DefaultVerifyOptions() x509.VerifyOptions { … }
var CommonNameUserConversion …