Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate struct { Subject Subject Issuer Issuer NotBefore string `js:"notBefore"` NotAfter string `js:"notAfter"` AltNames []string `js:"altNames"` SignatureAlgorithm string `js:"signatureAlgorithm"` FingerPrint []byte `js:"fingerPrint"` PublicKey PublicKey `js:"publicKey"` }
Certificate is an X.509 certificate
type Issuer ¶
type Issuer struct { CommonName string `js:"commonName"` Country string StateOrProvinceName string `js:"stateOrProvinceName"` LocalityName string `js:"localityName"` OrganizationName string `js:"organizationName"` Names []RDN }
Issuer is a certificate issuer
type PublicKey ¶
type PublicKey struct { Algorithm string Key interface{} }
PublicKey is used for decryption and signature verification
type RDN ¶
RDN is a component of an X.509 distinguished name
type Subject ¶
type Subject struct { CommonName string `js:"commonName"` Country string PostalCode string `js:"postalCode"` StateOrProvinceName string `js:"stateOrProvinceName"` LocalityName string `js:"localityName"` StreetAddress string `js:"streetAddress"` OrganizationName string `js:"organizationName"` OrganizationalUnitName []string `js:"organizationalUnitName"` Names []RDN }
Subject is a certificate subject
Click to show internal directories.
Click to hide internal directories.