Documentation ¶
Index ¶
- Constants
- func CreateCerts() (caCertPem, certPem, keyPem *bytes.Buffer, retErr error)
- func GetClientCredentialsFromCerts(certReader CertStorageReader) (credentials.TransportCredentials, error)
- func GetServerCredentialsFromCerts(certReader CertStorageReader) (credentials.TransportCredentials, error)
- type CertStorageReader
- type MemoryCertStorage
- type SecretCertStorage
Constants ¶
View Source
const TLSMinVersion = tls.VersionTLS13
Variables ¶
This section is empty.
Functions ¶
func CreateCerts ¶
func GetClientCredentialsFromCerts ¶
func GetClientCredentialsFromCerts(certReader CertStorageReader) (credentials.TransportCredentials, error)
func GetServerCredentialsFromCerts ¶
func GetServerCredentialsFromCerts(certReader CertStorageReader) (credentials.TransportCredentials, error)
Types ¶
type CertStorageReader ¶
type MemoryCertStorage ¶
type SecretCertStorage ¶
func NewSecretCertStorage ¶
func (*SecretCertStorage) GetCerts ¶
func (s *SecretCertStorage) GetCerts() (caPem, certPem, keyPem *bytes.Buffer, err error)
func (*SecretCertStorage) StoreCerts ¶
func (s *SecretCertStorage) StoreCerts(caPem, certPem, keyPem *bytes.Buffer) error
Click to show internal directories.
Click to hide internal directories.