| Modifier and Type | Field and Description |
|---|---|
| protected EnvelopedDataHelper | |
| protected EnvelopedDataHelper | |
| private SecretKey | |
| protected boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Key | extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier encryptedKeyAlgorithm, byte[] encryptedContentEncryptionKey)
|
| public JceKEKRecipient | Returns: this recipient.the provider to use. provider)Set the provider to use for content processing. |
| public JceKEKRecipient | Returns: this recipient.the name of the provider to use. providerName)Set the provider to use for content processing. |
| public JceKEKRecipient | Returns: this recipient.true if unwrapped key's should be validated against the content encryption algorithm, false otherwise. doValidate)Set validation of retrieved key sizes against the algorithm parameters for the encrypted key where possible - default is off. |
| public JceKEKRecipient | Returns: this recipient.provider to use. provider)Set the provider to use for key recovery and content processing. |
| public JceKEKRecipient | Returns: this recipient.the name of the provider to use. providerName)Set the provider to use for key recovery and content processing. |
| contentHelper | back to summary |
|---|---|
| protected EnvelopedDataHelper contentHelper | |
| helper | back to summary |
|---|---|
| protected EnvelopedDataHelper helper | |
| recipientKey | back to summary |
|---|---|
| private SecretKey recipientKey | |
| validateKeySize | back to summary |
|---|---|
| protected boolean validateKeySize | |
| JceKEKRecipient | back to summary |
|---|---|
| public JceKEKRecipient(SecretKey recipientKey) | |
| extractSecretKey | back to summary |
|---|---|
| protected Key extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier encryptedKeyAlgorithm, byte[] encryptedContentEncryptionKey) throws CMSException | |
| setContentProvider | back to summary |
|---|---|
| public JceKEKRecipient setContentProvider(Provider provider) Set the provider to use for content processing.
| |
| setContentProvider | back to summary |
|---|---|
| public JceKEKRecipient setContentProvider(String providerName) Set the provider to use for content processing.
| |
| setKeySizeValidation | back to summary |
|---|---|
| public JceKEKRecipient setKeySizeValidation(boolean doValidate) Set validation of retrieved key sizes against the algorithm parameters for the encrypted key where possible - default is off. This setting will not have any affect if the encryption algorithm in the recipient does not specify a particular key size, or if the unwrapper is a HSM and the byte encoding of the unwrapped secret key is not available.
| |
| setProvider | back to summary |
|---|---|
| public JceKEKRecipient setProvider(Provider provider) Set the provider to use for key recovery and content processing.
| |
| setProvider | back to summary |
|---|---|
| public JceKEKRecipient setProvider(String providerName) Set the provider to use for key recovery and content processing.
| |