Versions in this module Expand all Collapse all v1 v1.0.0 Nov 10, 2022 Changes in this version + var EnvelopedDataRecipientInfoVersion = 2 + var EnvelopedDataVersion = 2 + var OIDData = asn1.ObjectIdentifier + var OIDEncryptionAlgorithmAES256CBC = asn1.ObjectIdentifier + var OIDEncryptionAlgorithmRSAESOAEP = asn1.ObjectIdentifier + var OIDEnvelopedData = asn1.ObjectIdentifier + func DecryptEnvelopedKey(key *rsa.PrivateKey, content []byte) ([]byte, error) + type EncryptedKey struct + func Parse(ber []byte) (*EncryptedKey, error) + func (ek *EncryptedKey) Decrypt(key *rsa.PrivateKey) ([]byte, error)