certificate

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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