Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodePemChain ¶
func DecodePemChain(chain []byte) ([]*x509.Certificate, error)
Types ¶
type ParsedCertificate ¶
type ParsedCertificate struct { Certificate *x509.Certificate Intermediates []*x509.Certificate }
func ParseCertificate ¶
func ParseCertificate(c []byte) (*ParsedCertificate, error)
func (ParsedCertificate) IsValid ¶
func (c ParsedCertificate) IsValid() bool
func (ParsedCertificate) ValidityPeriod ¶
func (c ParsedCertificate) ValidityPeriod() string
Click to show internal directories.
Click to hide internal directories.