mTLS

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CertStoreNameFileP12      = "FILE_P12" // TODO implement
	CertStoreNameFilePEM      = "FILE_PEM" // TODO implement
	CertStoreNameFileDER      = "FILE_DER" // TODO implement
	CertStoreNameLocalMachine = "LOCAL_MACHINE"
	CertStoreNameCurrentUser  = "CURRENT_USER"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EmbeddedSigner

type EmbeddedSigner struct {
	PKCS12   []byte
	Password string
}

func (*EmbeddedSigner) GetClientCertificate

func (s *EmbeddedSigner) GetClientCertificate(info *tls.CertificateRequestInfo) (*tls.Certificate, error)

type SystemSigner

type SystemSigner struct {
	CertStoreName string
	CommonName    string
}

Jump to

Keyboard shortcuts

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