| Modifier and Type | Field and Description |
|---|---|
| protected EnvelopedDataHelper | |
| private static KeyMaterialGenerator | |
| protected EnvelopedDataHelper | |
| private SecretKeySizeProvider | |
| private static KeyMaterialGenerator | |
| private static final Set | |
| private AlgorithmIdentifier | |
| private PrivateKey | |
| private static KeyMaterialGenerator |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private SecretKey | calculateAgreedWrapKey(AlgorithmIdentifier keyEncAlg, AlgorithmIdentifier wrapAlg, PublicKey senderPublicKey, ASN1OctetString userKeyingMaterial, PrivateKey receiverPrivateKey, KeyMaterialGenerator kmGen)
|
| protected Key | extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, SubjectPublicKeyInfo senderKey, ASN1OctetString userKeyingMaterial, byte[] encryptedContentEncryptionKey)
|
| public AlgorithmIdentifier | |
| public JceKeyAgreeRecipient | Returns: this recipient.the provider to use. provider)Set the provider to use for content processing. |
| public JceKeyAgreeRecipient | Returns: this recipient.the name of the provider to use. providerName)Set the provider to use for content processing. |
| public JceKeyAgreeRecipient | Returns: this recipient.the algorithm identifier for the private key. privKeyAlgID)Set the algorithm identifier for the private key. |
| public JceKeyAgreeRecipient | Returns: this recipient.provider to use. provider)Set the provider to use for key recovery and content processing. |
| public JceKeyAgreeRecipient | Returns: this recipient.the name of the provider to use. providerName)Set the provider to use for key recovery and content processing. |
| protected Key | unwrapSessionKey(ASN1ObjectIdentifier wrapAlg, SecretKey agreedKey, ASN1ObjectIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey)
|
| contentHelper | back to summary |
|---|---|
| protected EnvelopedDataHelper contentHelper | |
| ecc_cms_Generator | back to summary |
|---|---|
| private static KeyMaterialGenerator ecc_cms_Generator | |
| helper | back to summary |
|---|---|
| protected EnvelopedDataHelper helper | |
| keySizeProvider | back to summary |
|---|---|
| private SecretKeySizeProvider keySizeProvider | |
| old_ecc_cms_Generator | back to summary |
|---|---|
| private static KeyMaterialGenerator old_ecc_cms_Generator | |
| possibleOldMessages | back to summary |
|---|---|
| private static final Set<E> possibleOldMessages | |
| privKeyAlgID | back to summary |
|---|---|
| private AlgorithmIdentifier privKeyAlgID | |
| recipientKey | back to summary |
|---|---|
| private PrivateKey recipientKey | |
| simple_ecc_cmsGenerator | back to summary |
|---|---|
| private static KeyMaterialGenerator simple_ecc_cmsGenerator | |
| JceKeyAgreeRecipient | back to summary |
|---|---|
| public JceKeyAgreeRecipient(PrivateKey recipientKey) | |
| calculateAgreedWrapKey | back to summary |
|---|---|
| private SecretKey calculateAgreedWrapKey(AlgorithmIdentifier keyEncAlg, AlgorithmIdentifier wrapAlg, PublicKey senderPublicKey, ASN1OctetString userKeyingMaterial, PrivateKey receiverPrivateKey, KeyMaterialGenerator kmGen) throws CMSException, GeneralSecurityException, IOException | |
| extractSecretKey | back to summary |
|---|---|
| protected Key extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, SubjectPublicKeyInfo senderKey, ASN1OctetString userKeyingMaterial, byte[] encryptedContentEncryptionKey) throws CMSException | |
| getPrivateKeyAlgorithmIdentifier | back to summary |
|---|---|
| public AlgorithmIdentifier getPrivateKeyAlgorithmIdentifier() Implements org. | |
| setContentProvider | back to summary |
|---|---|
| public JceKeyAgreeRecipient setContentProvider(Provider provider) Set the provider to use for content processing. If providerName is null a "no provider" search will be used to satisfy getInstance calls.
| |
| setContentProvider | back to summary |
|---|---|
| public JceKeyAgreeRecipient setContentProvider(String providerName) Set the provider to use for content processing. If providerName is null a "no provider" search will be used to satisfy getInstance calls.
| |
| setPrivateKeyAlgorithmIdentifier | back to summary |
|---|---|
| public JceKeyAgreeRecipient setPrivateKeyAlgorithmIdentifier(AlgorithmIdentifier privKeyAlgID) Set the algorithm identifier for the private key. You'll want to use this if you are dealing with a HSM and it is not possible to get the encoding of the private key.
| |
| setProvider | back to summary |
|---|---|
| public JceKeyAgreeRecipient setProvider(Provider provider) Set the provider to use for key recovery and content processing.
| |
| setProvider | back to summary |
|---|---|
| public JceKeyAgreeRecipient setProvider(String providerName) Set the provider to use for key recovery and content processing.
| |
| unwrapSessionKey | back to summary |
|---|---|
| protected Key unwrapSessionKey(ASN1ObjectIdentifier wrapAlg, SecretKey agreedKey, ASN1ObjectIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) throws CMSException, InvalidKeyException, NoSuchAlgorithmException | |