Versions in this module Expand all Collapse all v0 v0.0.1 Feb 25, 2022 Changes in this version + func EncodeAttributeSliceToDER(attrs []Attribute) ([]byte, error) + type Attribute struct + Type asn1.ObjectIdentifier + Value asn1.RawValue + type Attributes struct + func (attrs *Attributes) Add(attrType asn1.ObjectIdentifier, value interface{}) + func (attrs *Attributes) ForMarshalling() ([]Attribute, error) + type Container struct + AuthenticatedAttributes []Attribute + DigestAlgorithm pkix.AlgorithmIdentifier + DigestEncryptionAlgorithm pkix.AlgorithmIdentifier + EncryptedDigest []byte + IssuerAndSerialNumber IssuerAndSerial + UnauthenticatedAttributes []Attribute + Version int + func (si *Container) SetUnauthenticatedAttributes(extraUnsignedAttrs []Attribute) error + type IssuerAndSerial struct + IssuerName asn1.RawValue + SerialNumber *big.Int