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