Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmailAddressOID asn1.ObjectIdentifier = []int{1, 2, 840, 113549, 1, 9, 1}
EmailAddressOID defined by https://oidref.com/1.2.840.113549.1.9.1
Functions ¶
func CertChainToPEM ¶ added in v0.2.0
func CertChainToPEM(certChain []*x509.Certificate) ([]byte, error)
func ParseTimestampCertChain ¶ added in v0.2.0
func ParseTimestampCertChain(pemBytes []byte) ([]*x509.Certificate, error)
Types ¶
type PublicKey ¶
type PublicKey struct {
// contains filtered or unexported fields
}
PublicKey Public Key that follows the x509 standard
func NewPublicKey ¶
NewPublicKey implements the pki.PublicKey interface
func (PublicKey) CanonicalValue ¶
CanonicalValue implements the pki.PublicKey interface
func (PublicKey) CryptoPubKey ¶ added in v0.3.0
func (PublicKey) EmailAddresses ¶ added in v0.2.0
EmailAddresses implements the pki.PublicKey interface
type Signature ¶
type Signature struct {
// contains filtered or unexported fields
}
func NewSignature ¶
NewSignature creates and validates an x509 signature object
func (Signature) CanonicalValue ¶
CanonicalValue implements the pki.Signature interface
Click to show internal directories.
Click to hide internal directories.