Package org.bouncycastle.cms.jcajce
Class JceKEMAuthEnvelopedRecipient
- java.lang.Object
-
- org.bouncycastle.cms.AbstractRecipient
-
- org.bouncycastle.cms.jcajce.JceKEMRecipient
-
- org.bouncycastle.cms.jcajce.JceKEMAuthEnvelopedRecipient
-
- All Implemented Interfaces:
KEMRecipient,Recipient
public class JceKEMAuthEnvelopedRecipient extends JceKEMRecipient
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 ofJceKEMEnvelopedRecipient.
-
-
Field Summary
-
Fields inherited from class org.bouncycastle.cms.jcajce.JceKEMRecipient
contentHelper, extraMappings, helper, unwrappedKeyMustBeEncodable, validateKeySize
-
-
Constructor Summary
Constructors Constructor Description JceKEMAuthEnvelopedRecipient(java.security.PrivateKey recipientKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecipientOperatorgetRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey)-
Methods inherited from class org.bouncycastle.cms.jcajce.JceKEMRecipient
extractSecretKey, setAlgorithmMapping, setAllowedContentAlgorithms, setContentProvider, setContentProvider, setKeySizeValidation, setMinimumTagSize, setMustProduceEncodableUnwrappedKey, setProvider, setProvider
-
Methods inherited from class org.bouncycastle.cms.AbstractRecipient
checkTagSize, isContentAlgorithmAllowed, setAllowedContentAlgorithmSet, setMinimumTagSizeInBits
-
-
-
-
Method Detail
-
getRecipientOperator
public RecipientOperator getRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) throws CMSException
- Throws:
CMSException
-
-