| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public | JceKeyTransRecipientInfoGenerator(X509Certificate
certificate carrying the public key. recipientCert, AlgorithmIdentifier the identifier and parameters for the encryption algorithm to be used. algorithmIdentifier)Create a generator overriding the algorithm type implied by the public key in the certificate passed in. |
| public | JceKeyTransRecipientInfoGenerator(byte[]
the subject key identifier value to associate with the public key. subjectKeyIdentifier, AlgorithmIdentifier the identifier and parameters for the encryption algorithm to be used. algorithmIdentifier, PublicKey the public key to use. publicKey)Create a generator overriding the algorithm type implied by the public key passed in. |
| Modifier and Type | Method and Description |
|---|---|
| public JceKeyTransRecipientInfoGenerator | Returns: the current RecipientInfoGenerator.OID of algorithm in recipient. algorithm, String JCE algorithm name to use. algorithmName)Internally algorithm ids are converted into cipher names using a lookup table. |
| public JceKeyTransRecipientInfoGenerator | |
| public JceKeyTransRecipientInfoGenerator |
| JceKeyTransRecipientInfoGenerator | back to summary |
|---|---|
| public JceKeyTransRecipientInfoGenerator(X509Certificate recipientCert) throws CertificateEncodingException | |
| JceKeyTransRecipientInfoGenerator | back to summary |
|---|---|
| public JceKeyTransRecipientInfoGenerator(X509Certificate recipientCert, AsymmetricKeyWrapper wrapper) throws CertificateEncodingException | |
| JceKeyTransRecipientInfoGenerator | back to summary |
|---|---|
| public JceKeyTransRecipientInfoGenerator(byte[] subjectKeyIdentifier, PublicKey publicKey) | |
| JceKeyTransRecipientInfoGenerator | back to summary |
|---|---|
| public JceKeyTransRecipientInfoGenerator(byte[] subjectKeyIdentifier, AsymmetricKeyWrapper wrapper) | |
| JceKeyTransRecipientInfoGenerator | back to summary |
|---|---|
| public JceKeyTransRecipientInfoGenerator(X509Certificate recipientCert, AlgorithmIdentifier algorithmIdentifier) throws CertificateEncodingException Create a generator overriding the algorithm type implied by the public key in the certificate passed in.
| |
| JceKeyTransRecipientInfoGenerator | back to summary |
|---|---|
| public JceKeyTransRecipientInfoGenerator(byte[] subjectKeyIdentifier, AlgorithmIdentifier algorithmIdentifier, PublicKey publicKey) Create a generator overriding the algorithm type implied by the public key passed in.
| |
| setAlgorithmMapping | back to summary |
|---|---|
| public JceKeyTransRecipientInfoGenerator setAlgorithmMapping(ASN1ObjectIdentifier algorithm, String algorithmName) Internally algorithm ids are converted into cipher names using a lookup table. For some providers the standard lookup table won't work. Use this method to establish a specific mapping from an algorithm identifier to a specific algorithm. For example:
unwrapper.setAlgorithmMapping(PKCSObjectIdentifiers.rsaEncryption, "RSA");
| |
| setProvider | back to summary |
|---|---|
| public JceKeyTransRecipientInfoGenerator setProvider(String providerName) | |
| setProvider | back to summary |
|---|---|
| public JceKeyTransRecipientInfoGenerator setProvider(Provider provider) | |