passtlsclientcert

package
v3.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, next http.Handler, config dynamic.PassTLSClientCert, name string) (http.Handler, error)

New constructs a new PassTLSClientCert instance from supplied frontend header struct.

Types

type IssuerDistinguishedNameOptions

type IssuerDistinguishedNameOptions struct {
	CommonName          bool
	CountryName         bool
	DomainComponent     bool
	LocalityName        bool
	OrganizationName    bool
	SerialNumber        bool
	StateOrProvinceName bool
}

IssuerDistinguishedNameOptions is a struct for specifying the configuration for the distinguished name info of the issuer. This information is defined in RFC3739, section 3.1.1.

type SubjectDistinguishedNameOptions

type SubjectDistinguishedNameOptions struct {
	CommonName             bool
	CountryName            bool
	DomainComponent        bool
	LocalityName           bool
	OrganizationName       bool
	OrganizationalUnitName bool
	SerialNumber           bool
	StateOrProvinceName    bool
}

SubjectDistinguishedNameOptions is a struct for specifying the configuration for the distinguished name info of the subject. This information is defined in RFC3739, section 3.1.2.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL