Class JceKEMAuthEnvelopedRecipient
java.lang.Object
org.bouncycastle.cms.AbstractRecipient
org.bouncycastle.cms.jcajce.JceKEMRecipient
org.bouncycastle.cms.jcajce.JceKEMAuthEnvelopedRecipient
- All Implemented Interfaces:
KEMRecipient, Recipient
The KEM (RFC 9629 KEMRecipientInfo) recipient for CMS AuthEnvelopedData: decapsulates the
key-encryption key and returns an AEAD input decryptor (e.g. AES-GCM) that verifies the
authentication tag, the AuthEnveloped counterpart of
JceKEMEnvelopedRecipient.-
Field Summary
Fields inherited from class JceKEMRecipient
contentHelper, extraMappings, helper, unwrappedKeyMustBeEncodable, validateKeySize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) Methods inherited from class JceKEMRecipient
extractSecretKey, setAlgorithmMapping, setAllowedContentAlgorithms, setContentProvider, setContentProvider, setKeySizeValidation, setMinimumTagSize, setMustProduceEncodableUnwrappedKey, setProvider, setProviderMethods inherited from class AbstractRecipient
checkTagSize, isContentAlgorithmAllowed, setAllowedContentAlgorithmSet, setMinimumTagSizeInBits
-
Constructor Details
-
JceKEMAuthEnvelopedRecipient
-
-
Method Details
-
getRecipientOperator
public RecipientOperator getRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) throws CMSException - Throws:
CMSException
-