| Modifier and Type | Field and Description |
|---|---|
| private static KeyMaterialGenerator | |
| private KeyPair | |
| private EnvelopedDataHelper | |
| private SecretKeySizeProvider | |
| private SecureRandom | |
| private List | |
| private List | |
| private PrivateKey | |
| private PublicKey | |
| private byte[] |
| Access | Constructor and Description |
|---|---|
| public | JceKeyAgreeRecipientInfoGenerator(ASN1ObjectIdentifier keyAgreementOID, PrivateKey senderPrivateKey, PublicKey senderPublicKey, ASN1ObjectIdentifier keyEncryptionOID)
|
| Modifier and Type | Method and Description |
|---|---|
| public JceKeyAgreeRecipientInfoGenerator | Returns: the current instance.recipient's certificate recipientCert)Add a recipient based on the passed in certificate's public key and its issuer and serial number. |
| public JceKeyAgreeRecipientInfoGenerator | Returns: the current instance.identifier actual recipient will use to match the private key. subjectKeyID, PublicKey the public key for encrypting the secret key. publicKey)Add a recipient identified by the passed in subjectKeyID and the for the passed in public key. |
| public ASN1Sequence | generateRecipientEncryptedKeys(AlgorithmIdentifier keyAgreeAlgorithm, AlgorithmIdentifier keyEncryptionAlgorithm, GenericKey contentEncryptionKey)
Implements abstract org. |
| protected byte[] | getUserKeyingMaterial(AlgorithmIdentifier keyAgreeAlg)
Implements abstract org. |
| private void | |
| public JceKeyAgreeRecipientInfoGenerator | |
| public JceKeyAgreeRecipientInfoGenerator | |
| public JceKeyAgreeRecipientInfoGenerator | |
| public JceKeyAgreeRecipientInfoGenerator |
| ecc_cms_Generator | back to summary |
|---|---|
| private static KeyMaterialGenerator ecc_cms_Generator | |
| ephemeralKP | back to summary |
|---|---|
| private KeyPair ephemeralKP | |
| helper | back to summary |
|---|---|
| private EnvelopedDataHelper helper | |
| keySizeProvider | back to summary |
|---|---|
| private SecretKeySizeProvider keySizeProvider | |
| random | back to summary |
|---|---|
| private SecureRandom random | |
| recipientIDs | back to summary |
|---|---|
| private List<E> recipientIDs | |
| recipientKeys | back to summary |
|---|---|
| private List<E> recipientKeys | |
| senderPrivateKey | back to summary |
|---|---|
| private PrivateKey senderPrivateKey | |
| senderPublicKey | back to summary |
|---|---|
| private PublicKey senderPublicKey | |
| userKeyingMaterial | back to summary |
|---|---|
| private byte[] userKeyingMaterial | |
| JceKeyAgreeRecipientInfoGenerator | back to summary |
|---|---|
| public JceKeyAgreeRecipientInfoGenerator(ASN1ObjectIdentifier keyAgreementOID, PrivateKey senderPrivateKey, PublicKey senderPublicKey, ASN1ObjectIdentifier keyEncryptionOID) | |
| addRecipient | back to summary |
|---|---|
| public JceKeyAgreeRecipientInfoGenerator addRecipient(X509Certificate recipientCert) throws CertificateEncodingException Add a recipient based on the passed in certificate's public key and its issuer and serial number.
| |
| addRecipient | back to summary |
|---|---|
| public JceKeyAgreeRecipientInfoGenerator addRecipient(byte[] subjectKeyID, PublicKey publicKey) throws CertificateEncodingException Add a recipient identified by the passed in subjectKeyID and the for the passed in public key.
| |
| generateRecipientEncryptedKeys | back to summary |
|---|---|
| public ASN1Sequence generateRecipientEncryptedKeys(AlgorithmIdentifier keyAgreeAlgorithm, AlgorithmIdentifier keyEncryptionAlgorithm, GenericKey contentEncryptionKey) throws CMSException Implements abstract org. | |
| getUserKeyingMaterial | back to summary |
|---|---|
| protected byte[] getUserKeyingMaterial(AlgorithmIdentifier keyAgreeAlg) throws CMSException Implements abstract org. | |
| init | back to summary |
|---|---|
| private void init(ASN1ObjectIdentifier keyAgreementOID) throws CMSException | |
| setProvider | back to summary |
|---|---|
| public JceKeyAgreeRecipientInfoGenerator setProvider(Provider provider) | |
| setProvider | back to summary |
|---|---|
| public JceKeyAgreeRecipientInfoGenerator setProvider(String providerName) | |
| setSecureRandom | back to summary |
|---|---|
| public JceKeyAgreeRecipientInfoGenerator setSecureRandom(SecureRandom random) | |
| setUserKeyingMaterial | back to summary |
|---|---|
| public JceKeyAgreeRecipientInfoGenerator setUserKeyingMaterial(byte[] userKeyingMaterial) | |