Class BcKEMEnvelopedRecipient
java.lang.Object
org.bouncycastle.cms.AbstractRecipient
org.bouncycastle.cms.bc.BcKEMRecipient
org.bouncycastle.cms.bc.BcKEMEnvelopedRecipient
- All Implemented Interfaces:
KEMRecipient, Recipient
Recipient for EnvelopedData addressed with an RFC 9629 KEMRecipientInfo, using the light-weight API
for both the ML-KEM decapsulation and the content decryption.
-
Constructor Summary
ConstructorsConstructorDescriptionBcKEMEnvelopedRecipient(org.bouncycastle.crypto.params.AsymmetricKeyParameter recipientKey) -
Method Summary
Modifier and TypeMethodDescriptiongetRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) Methods inherited from class BcKEMRecipient
extractSecretKey, setAllowedContentAlgorithmsMethods inherited from class AbstractRecipient
checkContentAlgorithm, checkTagSize, isContentAlgorithmAllowed, setAllowedContentAlgorithmSet, setMinimumTagSizeInBits
-
Constructor Details
-
BcKEMEnvelopedRecipient
public BcKEMEnvelopedRecipient(org.bouncycastle.crypto.params.AsymmetricKeyParameter recipientKey)
-
-
Method Details
-
getRecipientOperator
public RecipientOperator getRecipientOperator(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) throws CMSException - Throws:
CMSException
-