| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private JcaJceExtHelper | |
| private final int | |
| private PrivateKey | |
| private final AlgorithmIdentifier |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public GenericKey | generateUnwrappedKey(AlgorithmIdentifier encryptionKeyAlgorithm, byte[] encryptedKey)
Implements org. |
| public int | |
| public JceCMSKEMKeyUnwrapper | Returns: the current Wrapper.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 JceCMSKEMKeyUnwrapper | |
| public JceCMSKEMKeyUnwrapper |
| extraMappings | back to summary |
|---|---|
| private Map<K, V> extraMappings | |
| helper | back to summary |
|---|---|
| private JcaJceExtHelper helper | |
| kekLength | back to summary |
|---|---|
| private final int kekLength | |
| privateKey | back to summary |
|---|---|
| private PrivateKey privateKey | |
| symWrapAlgorithm | back to summary |
|---|---|
| private final AlgorithmIdentifier symWrapAlgorithm | |
| JceCMSKEMKeyUnwrapper | back to summary |
|---|---|
| public JceCMSKEMKeyUnwrapper(AlgorithmIdentifier symWrapAlg, PrivateKey privateKey) | |
| generateUnwrappedKey | back to summary |
|---|---|
| public GenericKey generateUnwrappedKey(AlgorithmIdentifier encryptionKeyAlgorithm, byte[] encryptedKey) throws OperatorException Implements org. | |
| getKekLength | back to summary |
|---|---|
| public int getKekLength() | |
| setAlgorithmMapping | back to summary |
|---|---|
| public JceCMSKEMKeyUnwrapper 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 JceCMSKEMKeyUnwrapper setProvider(Provider provider) | |
| setProvider | back to summary |
|---|---|
| public JceCMSKEMKeyUnwrapper setProvider(String providerName) | |