Class JceKTSKeyTransEnvelopedRecipient

  • All Implemented Interfaces:
    KeyTransRecipient, Recipient

    public class JceKTSKeyTransEnvelopedRecipient
    extends JceKTSKeyTransRecipient
    the KeyTransRecipient class for a recipient who has been sent secret key material encrypted using their public key that needs to be used to derive a key and extract a message.
    • Constructor Detail

      • JceKTSKeyTransEnvelopedRecipient

        public JceKTSKeyTransEnvelopedRecipient​(java.security.PrivateKey recipientKey,
                                                KeyTransRecipientId recipientId)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getRecipientOperator

        public RecipientOperator getRecipientOperator​(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm,
                                                      org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm,
                                                      byte[] encryptedContentEncryptionKey)
                                               throws CMSException
        Throws:
        CMSException