Documentation ¶
Index ¶
- func ConvertX509CertificateToIntCert(certificate *x509.Certificate, roots []*x509.Certificate) *agentintegration.Certificate
- func GetCertificateForDomainFromRequest(domain string) (*agentintegration.Certificate, error)
- func GetCertificateFromFile(path string) (*agentintegration.Certificate, error)
- func GetX509CertificateFromRequest(domain string) ([]*x509.Certificate, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertX509CertificateToIntCert ¶
func ConvertX509CertificateToIntCert(certificate *x509.Certificate, roots []*x509.Certificate) *agentintegration.Certificate
ConvertX509CertificateToIntCert converts x509 certificate to agentintegration.Certificate
func GetCertificateForDomainFromRequest ¶
func GetCertificateForDomainFromRequest(domain string) (*agentintegration.Certificate, error)
GetCertificateForDomainFromRequest returns a certificate for a domain
func GetCertificateFromFile ¶ added in v0.3.0
func GetCertificateFromFile(path string) (*agentintegration.Certificate, error)
GetCertificateFromFile read and parse certificate from file
func GetX509CertificateFromRequest ¶
func GetX509CertificateFromRequest(domain string) ([]*x509.Certificate, error)
GetX509CertificateFromRequest retrieves certificate from http request to domain
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.