Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeCertificates ¶
func DecodeCertificates(value []byte) ([]*x509.Certificate, error)
Decode PEM-encoded bytes into an x509.Certificate chain.
func GetCertificateProviders ¶
func GetCertificateProviders() map[string]CertificateProvider
returns the internal certificate provider map
func Register ¶
func Register(name string, provider CertificateProvider)
Register adds the factory to the built in providers map
Types ¶
type CertStoreConfig ¶
This is a map containing Cert store configuration including name, tenantID, and cert object information
type CertificateProvider ¶
type CertificateProvider interface { // Returns an array of certificates and the provider specific cert attributes based on certificate properties defined in attrib map GetCertificates(ctx context.Context, attrib map[string]string) ([]*x509.Certificate, CertificatesStatus, error) }
CertificateProvider is an interface that defines methods to be implemented by a each certificate provider
type CertificatesStatus ¶
type CertificatesStatus map[string]interface{}
This is a map of properties for fetched certificates The key and values are specific to each provider
Click to show internal directories.
Click to hide internal directories.