public class OAEPUnwrapKeySpec
extends java.lang.Object
implements java.security.spec.AlgorithmParameterSpec
OAEPParameterSpec,
KeyAttributesMap| Constructor and Description |
|---|
OAEPUnwrapKeySpec(javax.crypto.spec.OAEPParameterSpec oaepSpec,
KeyAttributesMap keySpec)
Specifies the set of parameters used with OAEP Padding, with additional parameters for
defining key attributes during unwrap operations.
|
| Modifier and Type | Method and Description |
|---|---|
KeyAttributesMap |
getKeySpec()
Accessor of key attributes for unwrapped keys.
|
javax.crypto.spec.OAEPParameterSpec |
getOaepSpec()
Accessor of OAEP algorithm parameters.
|
public OAEPUnwrapKeySpec(javax.crypto.spec.OAEPParameterSpec oaepSpec,
KeyAttributesMap keySpec)
throws java.security.InvalidParameterException
oaepSpec - OAEP parameterskeySpec - Key attributes for unwrapped keysjava.security.InvalidParameterException - if either algorithm parameter spec is null.OAEPParameterSpec,
KeyAttributesMappublic javax.crypto.spec.OAEPParameterSpec getOaepSpec()
AlgorithmParameterSpec.OAEPParameterSpecpublic KeyAttributesMap getKeySpec()
KeyAttributesMap