Versions in this module Expand all Collapse all v0 v0.0.2 Sep 24, 2020 Changes in this version type X509v3Extensions + AuthorityInformation *AuthorityInformation + CRLDistributionPoints []string + CertificatePolicies []string + SubjectAlternativeNames []string v0.0.1 Sep 7, 2020 Changes in this version + func Dial(addr string) ([]*x509.Certificate, error) + func ReadDER(reader io.Reader) (*x509.Certificate, error) + func ReadPEM(reader io.Reader) ([]*x509.Certificate, error) + func WritePEM(out io.Writer, cert *x509.Certificate) error + func WriteX509Meta(out io.Writer, cert *x509.Certificate) error + func WriteX509Metas(out io.Writer, certs []*x509.Certificate) error + type AuthorityInformation struct + CAIssuers []string + OCSP []string + type BasicConstraints struct + CA bool + MaxPathLength int + func (b *BasicConstraints) MarshalJSON() ([]byte, error) + func (b *BasicConstraints) MaxPathIsNil() bool + type OpenSSLFormat struct + AuthorityInformation *AuthorityInformation + CRLDistributionPoints []string + CertificatePolicies []string + Issuer string + SerialNumber string + Signature string + SignatureAlgorithm string + Subject string + SubjectAlternativeNames []string + SubjectPublicKeyInfo *SubjectPublicKeyInfo + Validity *Validity + Version int + X509v3Extensions *X509v3Extensions + func CertToOpenSSL(cert *x509.Certificate) *OpenSSLFormat + type SubjectPublicKeyInfo struct + Parameters interface{} + PublicKeyAlgorithm string + type Validity struct + NotAfter time.Time + NotBefore time.Time + func (v *Validity) MarshalJSON() ([]byte, error) + type X509v3Extensions struct + AuthorityKeyIdentifier string + BasicConstraints *BasicConstraints + ExtendedKeyUsage []string + KeyUsage []string + SubjectKeyIdentifier string