public final class AesKeyWrapParameters
extends java.security.AlgorithmParametersSpi
AesKeyWrap
algorithm implementation.
For a detailed description of how the initial value is used by the AES key
wrap algorithm, refer to the documentation on the corresponding transparent
algorithm parameters representation
AesKeyWrapParameterSpec.
To convert this opaque representation into a transparent representation
call getParameterSpec(AesKeyWrapParameterSpec.class).
Finally, for parsing and encoding of this parameter, only the 'RAW' encoding
is supported; by default the 'RAW' encoding is used.
AesKeyWrap,
AesKeyWrapParameterSpec| Constructor and Description |
|---|
AesKeyWrapParameters()
The constructor; creates a new instance of AES key wrap algorithm
parameters.
|
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
engineGetEncoded() |
protected byte[] |
engineGetEncoded(java.lang.String format) |
protected java.security.spec.AlgorithmParameterSpec |
engineGetParameterSpec(java.lang.Class paramSpec) |
protected void |
engineInit(java.security.spec.AlgorithmParameterSpec paramSpec) |
protected void |
engineInit(byte[] params) |
protected void |
engineInit(byte[] params,
java.lang.String format) |
protected java.lang.String |
engineToString() |
public AesKeyWrapParameters()
This should never be invoked manually. It only exists so that the Java Cryptography Architecture can create new instances of AES key wrap algorithm parameters.
protected void engineInit(byte[] params)
throws java.io.IOException
engineInit in class java.security.AlgorithmParametersSpijava.io.IOExceptionprotected void engineInit(byte[] params,
java.lang.String format)
throws java.io.IOException
engineInit in class java.security.AlgorithmParametersSpijava.io.IOExceptionprotected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec)
throws java.security.spec.InvalidParameterSpecException
engineInit in class java.security.AlgorithmParametersSpijava.security.spec.InvalidParameterSpecExceptionprotected byte[] engineGetEncoded()
throws java.io.IOException
engineGetEncoded in class java.security.AlgorithmParametersSpijava.io.IOExceptionprotected byte[] engineGetEncoded(java.lang.String format)
throws java.io.IOException
engineGetEncoded in class java.security.AlgorithmParametersSpijava.io.IOExceptionprotected java.security.spec.AlgorithmParameterSpec engineGetParameterSpec(java.lang.Class paramSpec)
throws java.security.spec.InvalidParameterSpecException
engineGetParameterSpec in class java.security.AlgorithmParametersSpijava.security.spec.InvalidParameterSpecExceptionprotected java.lang.String engineToString()
engineToString in class java.security.AlgorithmParametersSpi