APIdia Launch Partner
Top Description Inners Fields Constructors Methods
com.sun.crypto.provider

pack-priv abstract Class KeyWrapCipher

extends CipherSpi
Class Inheritance
Known Direct Subclasses
com.sun.crypto.provider.KeyWrapCipher.AES_KW_NoPadding, com.sun.crypto.provider.KeyWrapCipher.AES128_KW_NoPadding, com.sun.crypto.provider.KeyWrapCipher.AES192_KW_NoPadding, com.sun.crypto.provider.KeyWrapCipher.AES256_KW_NoPadding, com.sun.crypto.provider.KeyWrapCipher.AES_KW_PKCS5Padding, com.sun.crypto.provider.KeyWrapCipher.AES128_KW_PKCS5Padding, com.sun.crypto.provider.KeyWrapCipher.AES192_KW_PKCS5Padding, com.sun.crypto.provider.KeyWrapCipher.AES256_KW_PKCS5Padding, com.sun.crypto.provider.KeyWrapCipher.AES_KWP_NoPadding, com.sun.crypto.provider.KeyWrapCipher.AES128_KWP_NoPadding, com.sun.crypto.provider.KeyWrapCipher.AES192_KWP_NoPadding, com.sun.crypto.provider.KeyWrapCipher.AES256_KWP_NoPadding
Imports
java.util.Arrays, java.security.*, java.security.spec.*, javax.crypto.*, javax.crypto.spec.*

This class is the impl class for AES KeyWrap algorithms as defined in "Recommendation for Block Cipher Modes of Operation: Methods for Key Wrapping"
External Specification
https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-38F.pdf

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class
public static class

Field Summary

Modifier and TypeField and Description
private final FeedbackCipher
private byte[]
private int
private final int
private int
private final Padding

Constructor Summary

AccessConstructor and Description
public
KeyWrapCipher(FeedbackCipher cipher, Padding padding, int keySize)

Creates an instance of KeyWrap cipher using the specified symmetric cipher whose block size must be 128-bit, and the supported mode and padding scheme.

Method Summary

Modifier and TypeMethod and Description
private static byte[]
checkKey(Key key, int fixedKeySize)

protected byte[]

Returns:

n/a.
engineDoFinal
(byte[] in, int inOfs, int inLen)

Implements abstract javax.crypto.CipherSpi.engineDoFinal.

See CipherSpi.engineDoFinal(...)

protected int

Returns:

n/a.
engineDoFinal
(byte[]
the input buffer.
in
,
int inOfs, int
the input length.
inLen
,
byte[]
the buffer for the result.
out
,
int outOfs)

Implements abstract javax.crypto.CipherSpi.engineDoFinal.

See CipherSpi.doFinal(...)

protected int

Returns:

the block size (in bytes)
engineGetBlockSize
()

Implements abstract javax.crypto.CipherSpi.engineGetBlockSize.

Returns the block size (in bytes).

protected byte[]

Returns:

the user-specified iv, or null if the underlying algorithm does not use an IV, or if the IV has not yet been set.
engineGetIV
()

Implements abstract javax.crypto.CipherSpi.engineGetIV.

Returns the initialization vector (IV) in a new buffer.

protected int

Returns:

the "effective" key size of the given key object.
engineGetKeySize
(Key
the key object.
key
)

Overrides javax.crypto.CipherSpi.engineGetKeySize.

Returns the key size of the given key object in number of bits.

protected int

Returns:

the required output buffer size (in bytes)
engineGetOutputSize
(int
the input length (in bytes)
inLen
)

Implements abstract javax.crypto.CipherSpi.engineGetOutputSize.

Returns the length in bytes that an output buffer would need to be given the input length inLen (in bytes).

protected AlgorithmParameters

Returns:

AlgorithmParameters object containing IV, or null if this cipher does not use any parameters.
engineGetParameters
()

Implements abstract javax.crypto.CipherSpi.engineGetParameters.

Returns the parameters used with this cipher.

protected void
engineInit(int
the operation mode of this cipher.
opmode
,
Key
the secret key.
key
,
SecureRandom
the source of randomness.
random
)

Implements abstract javax.crypto.CipherSpi.engineInit.

Initializes this cipher with a key and a source of randomness.

protected void
engineInit(int
the operation mode of this cipher.
opmode
,
Key
the secret key.
key
,
AlgorithmParameterSpec
the algorithm parameters; if not null, must be of type IvParameterSpec
params
,
SecureRandom
the source of randomness.
random
)

Implements abstract javax.crypto.CipherSpi.engineInit.

Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.

protected void
engineInit(int
the operation mode of this cipher.
opmode
,
Key
the secret key.
key
,
AlgorithmParameters
the algorithm parameters; if not null, must be able to be converted to IvParameterSpec.
params
,
SecureRandom
the source of randomness.
random
)

Implements abstract javax.crypto.CipherSpi.engineInit.

Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.

protected void
engineSetMode(String
the cipher mode
mode
)

Implements abstract javax.crypto.CipherSpi.engineSetMode.

Sets the mode of this cipher.

protected void
engineSetPadding(String
the padding mechanism
padding
)

Implements abstract javax.crypto.CipherSpi.engineSetPadding.

Sets the padding mechanism of this cipher.

protected Key

Returns:

the unwrapped key.
engineUnwrap
(byte[]
the key to be unwrapped.
wrappedKey
,
String
the algorithm the wrapped key is for.
wrappedKeyAlgorithm
,
int
the type of the wrapped key. This is one of Cipher.SECRET_KEY, Cipher.PRIVATE_KEY, or Cipher.PUBLIC_KEY.
wrappedKeyType
)

Overrides javax.crypto.CipherSpi.engineUnwrap.

Unwrap a previously wrapped key.

protected byte[]

Returns:

null.
engineUpdate
(byte[]
the input buffer.
in
,
int
the offset in in where the input starts.
inOffset
,
int
the input length.
inLen
)

Implements abstract javax.crypto.CipherSpi.engineUpdate.

See CipherSpi.engineUpdate(...) - buffers data internally as only single part operation is supported.

protected int

Returns:

n/a.
engineUpdate
(byte[]
the input buffer.
in
,
int
the offset in in where the input starts.
inOffset
,
int
the input length.
inLen
,
byte[]
the buffer for the result.
out
,
int
the offset in out where the result is stored.
outOffset
)

Implements abstract javax.crypto.CipherSpi.engineUpdate.

See CipherSpi.engineUpdate(...) - buffers data internally as only single part operation is supported.

protected byte[]

Returns:

the wrapped key.
engineWrap
(Key
the key to be wrapped.
key
)

Overrides javax.crypto.CipherSpi.engineWrap.

Wrap a key.

private int
helperDecrypt(byte[] inBuf, int inLen)

private int
helperEncrypt(byte[] inBuf, int inLen)

private int
implDoFinal(byte[] in, int inOfs, int inLen, byte[] out)

private void
implInit(int opmode, Key key, byte[] iv, SecureRandom random)

private void
implUpdate(byte[] in, int inOfs, int inLen)

private void
store(byte[] in, int inOfs, int inLen)

Inherited from javax.crypto.CipherSpi:
engineDoFinalengineUpdateengineUpdateAADengineUpdateAAD

Field Detail

cipherback to summary
private final FeedbackCipher cipher
dataBufback to summary
private byte[] dataBuf
dataIdxback to summary
private int dataIdx
fixedKeySizeback to summary
private final int fixedKeySize
opmodeback to summary
private int opmode
paddingback to summary
private final Padding padding

Constructor Detail

KeyWrapCipherback to summary
public KeyWrapCipher(FeedbackCipher cipher, Padding padding, int keySize)

Creates an instance of KeyWrap cipher using the specified symmetric cipher whose block size must be 128-bit, and the supported mode and padding scheme.

Method Detail

checkKeyback to summary
private static byte[] checkKey(Key key, int fixedKeySize) throws InvalidKeyException
engineDoFinalback to summary
protected byte[] engineDoFinal(byte[] in, int inOfs, int inLen) throws IllegalBlockSizeException, BadPaddingException

Implements abstract javax.crypto.CipherSpi.engineDoFinal.

See CipherSpi.engineDoFinal(...)

Returns:byte[]

n/a.

Annotations
@Override
Exceptions
IllegalBlockSizeException:

Doc from javax.crypto.CipherSpi.engineDoFinal.

if this cipher is a block cipher, no padding has been requested (only in encryption mode), and the total input length of the data processed by this cipher is not a multiple of block size; or if this encryption algorithm is unable to process the input data provided

BadPaddingException:

Doc from javax.crypto.CipherSpi.engineDoFinal.

if this CipherSpi object is in decryption mode, and (un)padding has been requested, but the decrypted data is not bounded by the appropriate padding bytes

IllegalStateException:
upon invocation of this method.
engineDoFinalback to summary
protected int engineDoFinal(byte[] in, int inOfs, int inLen, byte[] out, int outOfs) throws IllegalBlockSizeException, ShortBufferException, BadPaddingException

Implements abstract javax.crypto.CipherSpi.engineDoFinal.

See CipherSpi.doFinal(...)

Parameters
in:byte[]

the input buffer.

inLen:int

the input length.

out:byte[]

the buffer for the result.

Returns:int

n/a.

Exceptions
IllegalBlockSizeException:

Doc from javax.crypto.CipherSpi.engineDoFinal.

if this cipher is a block cipher, no padding has been requested (only in encryption mode), and the total input length of the data processed by this cipher is not a multiple of block size; or if this encryption algorithm is unable to process the input data provided

ShortBufferException:

Doc from javax.crypto.CipherSpi.engineDoFinal.

if the given output buffer is too small to hold the result

BadPaddingException:

Doc from javax.crypto.CipherSpi.engineDoFinal.

if this CipherSpi object is in decryption mode, and (un)padding has been requested, but the decrypted data is not bounded by the appropriate padding bytes

IllegalStateException:
upon invocation of this method.
engineGetBlockSizeback to summary
protected int engineGetBlockSize()

Implements abstract javax.crypto.CipherSpi.engineGetBlockSize.

Doc from javax.crypto.CipherSpi.engineGetBlockSize.

Returns the block size (in bytes).

Returns:int

the block size (in bytes)

Annotations
@Override
engineGetIVback to summary
protected byte[] engineGetIV()

Implements abstract javax.crypto.CipherSpi.engineGetIV.

Returns the initialization vector (IV) in a new buffer.

Returns:byte[]

the user-specified iv, or null if the underlying algorithm does not use an IV, or if the IV has not yet been set.

Annotations
@Override
engineGetKeySizeback to summary
protected int engineGetKeySize(Key key) throws InvalidKeyException

Overrides javax.crypto.CipherSpi.engineGetKeySize.

Returns the key size of the given key object in number of bits.

Parameters
key:Key

the key object.

Returns:int

the "effective" key size of the given key object.

Exceptions
InvalidKeyException:
if key is invalid.
engineGetOutputSizeback to summary
protected int engineGetOutputSize(int inLen)

Implements abstract javax.crypto.CipherSpi.engineGetOutputSize.

Returns the length in bytes that an output buffer would need to be given the input length inLen (in bytes).

The actual output length of the next update or doFinal call may be smaller than the length returned by this method.

Parameters
inLen:int

the input length (in bytes)

Returns:int

the required output buffer size (in bytes)

engineGetParametersback to summary
protected AlgorithmParameters engineGetParameters()

Implements abstract javax.crypto.CipherSpi.engineGetParameters.

Returns the parameters used with this cipher.

Returns:AlgorithmParameters

AlgorithmParameters object containing IV, or null if this cipher does not use any parameters.

Annotations
@Override
engineInitback to summary
protected void engineInit(int opmode, Key key, SecureRandom random) throws InvalidKeyException

Implements abstract javax.crypto.CipherSpi.engineInit.

Initializes this cipher with a key and a source of randomness.

Parameters
opmode:int

the operation mode of this cipher.

key:Key

the secret key.

random:SecureRandom

the source of randomness.

Annotations
@Override
Exceptions
InvalidKeyException:
if the given key is inappropriate for initializing this cipher.
engineInitback to summary
protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException

Implements abstract javax.crypto.CipherSpi.engineInit.

Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.

Parameters
opmode:int

the operation mode of this cipher.

key:Key

the secret key.

params:AlgorithmParameterSpec

the algorithm parameters; if not null, must be of type IvParameterSpec

random:SecureRandom

the source of randomness.

Annotations
@Override
Exceptions
InvalidKeyException:
if the given key is inappropriate for initializing this cipher
InvalidAlgorithmParameterException:
if the given algorithm parameters is invalid.
engineInitback to summary
protected void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException

Implements abstract javax.crypto.CipherSpi.engineInit.

Initializes this cipher with a key, a set of algorithm parameters, and a source of randomness.

Parameters
opmode:int

the operation mode of this cipher.

key:Key

the secret key.

params:AlgorithmParameters

the algorithm parameters; if not null, must be able to be converted to IvParameterSpec.

random:SecureRandom

the source of randomness.

Annotations
@Override
Exceptions
InvalidKeyException:
if the given key is inappropriate.
InvalidAlgorithmParameterException:
if the given algorithm parameters is invalid.
engineSetModeback to summary
protected void engineSetMode(String mode) throws NoSuchAlgorithmException

Implements abstract javax.crypto.CipherSpi.engineSetMode.

Sets the mode of this cipher. Must match the mode specified in the constructor.

Parameters
mode:String

the cipher mode

Annotations
@Override
Exceptions
NoSuchAlgorithmException:
if the requested cipher mode does not match the supported mode
engineSetPaddingback to summary
protected void engineSetPadding(String padding) throws NoSuchPaddingException

Implements abstract javax.crypto.CipherSpi.engineSetPadding.

Sets the padding mechanism of this cipher. The specified padding scheme should match what this cipher is configured with.

Parameters
padding:String

the padding mechanism

Annotations
@Override
Exceptions
NoSuchPaddingException:
if the requested padding mechanism does not match the supported padding scheme
engineUnwrapback to summary
protected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType) throws InvalidKeyException, NoSuchAlgorithmException

Overrides javax.crypto.CipherSpi.engineUnwrap.

Unwrap a previously wrapped key.

Parameters
wrappedKey:byte[]

the key to be unwrapped.

wrappedKeyAlgorithm:String

the algorithm the wrapped key is for.

wrappedKeyType:int

the type of the wrapped key. This is one of Cipher.SECRET_KEY, Cipher.PRIVATE_KEY, or Cipher.PUBLIC_KEY.

Returns:Key

the unwrapped key.

Annotations
@Override
Exceptions
InvalidKeyException:
if wrappedKey does not represent a wrapped key of type wrappedKeyType for the wrappedKeyAlgorithm.
NoSuchAlgorithmException:
if no installed providers can create keys of type wrappedKeyType for the wrappedKeyAlgorithm.
engineUpdateback to summary
protected byte[] engineUpdate(byte[] in, int inOffset, int inLen)

Implements abstract javax.crypto.CipherSpi.engineUpdate.

See CipherSpi.engineUpdate(...) - buffers data internally as only single part operation is supported.

Parameters
in:byte[]

the input buffer.

inOffset:int

the offset in in where the input starts.

inLen:int

the input length.

Returns:byte[]

null.

Annotations
@Override
engineUpdateback to summary
protected int engineUpdate(byte[] in, int inOffset, int inLen, byte[] out, int outOffset) throws ShortBufferException

Implements abstract javax.crypto.CipherSpi.engineUpdate.

See CipherSpi.engineUpdate(...) - buffers data internally as only single part operation is supported.

Parameters
in:byte[]

the input buffer.

inOffset:int

the offset in in where the input starts.

inLen:int

the input length.

out:byte[]

the buffer for the result.

outOffset:int

the offset in out where the result is stored.

Returns:int

n/a.

Annotations
@Override
Exceptions
ShortBufferException:

Doc from javax.crypto.CipherSpi.engineUpdate.

if the given output buffer is too small to hold the result

IllegalStateException:
upon invocation of this method.
engineWrapback to summary
protected byte[] engineWrap(Key key) throws IllegalBlockSizeException, InvalidKeyException

Overrides javax.crypto.CipherSpi.engineWrap.

Wrap a key.

Parameters
key:Key

the key to be wrapped.

Returns:byte[]

the wrapped key.

Annotations
@Override
Exceptions
IllegalBlockSizeException:
if this cipher is a block cipher, no padding has been requested, and the length of the encoding of the key to be wrapped is not a multiple of the block size.
InvalidKeyException:
if it is impossible or unsafe to wrap the key with this cipher (e.g., a hardware protected key is being passed to a software only cipher).
helperDecryptback to summary
private int helperDecrypt(byte[] inBuf, int inLen) throws IllegalBlockSizeException, BadPaddingException, ShortBufferException
helperEncryptback to summary
private int helperEncrypt(byte[] inBuf, int inLen) throws IllegalBlockSizeException, ShortBufferException
implDoFinalback to summary
private int implDoFinal(byte[] in, int inOfs, int inLen, byte[] out) throws IllegalBlockSizeException, BadPaddingException, ShortBufferException
implInitback to summary
private void implInit(int opmode, Key key, byte[] iv, SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException
implUpdateback to summary
private void implUpdate(byte[] in, int inOfs, int inLen)
storeback to summary
private void store(byte[] in, int inOfs, int inLen)
com.sun.crypto.provider back to summary

public final Class KeyWrapCipher.AES128_KW_NoPadding

extends KeyWrapCipher
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from com.sun.crypto.provider.KeyWrapCipher:
engineDoFinalengineDoFinalengineGetBlockSizeengineGetIVengineGetKeySizeengineGetOutputSizeengineGetParametersengineInitengineInitengineInitengineSetModeengineSetPaddingengineUnwrapengineUpdateengineUpdateengineWrap

Constructor Detail

AES128_KW_NoPaddingback to summary
public AES128_KW_NoPadding()
com.sun.crypto.provider back to summary

public final Class KeyWrapCipher.AES128_KW_PKCS5Padding

extends KeyWrapCipher
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from com.sun.crypto.provider.KeyWrapCipher:
engineDoFinalengineDoFinalengineGetBlockSizeengineGetIVengineGetKeySizeengineGetOutputSizeengineGetParametersengineInitengineInitengineInitengineSetModeengineSetPaddingengineUnwrapengineUpdateengineUpdateengineWrap

Constructor Detail

AES128_KW_PKCS5Paddingback to summary
public AES128_KW_PKCS5Padding()
com.sun.crypto.provider back to summary

public final Class KeyWrapCipher.AES128_KWP_NoPadding

extends KeyWrapCipher
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from com.sun.crypto.provider.KeyWrapCipher:
engineDoFinalengineDoFinalengineGetBlockSizeengineGetIVengineGetKeySizeengineGetOutputSizeengineGetParametersengineInitengineInitengineInitengineSetModeengineSetPaddingengineUnwrapengineUpdateengineUpdateengineWrap

Constructor Detail

AES128_KWP_NoPaddingback to summary
public AES128_KWP_NoPadding()
com.sun.crypto.provider back to summary

public final Class KeyWrapCipher.AES192_KW_NoPadding

extends KeyWrapCipher
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from com.sun.crypto.provider.KeyWrapCipher:
engineDoFinalengineDoFinalengineGetBlockSizeengineGetIVengineGetKeySizeengineGetOutputSizeengineGetParametersengineInitengineInitengineInitengineSetModeengineSetPaddingengineUnwrapengineUpdateengineUpdateengineWrap

Constructor Detail

AES192_KW_NoPaddingback to summary
public AES192_KW_NoPadding()
com.sun.crypto.provider back to summary

public final Class KeyWrapCipher.AES192_KW_PKCS5Padding

extends KeyWrapCipher
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from com.sun.crypto.provider.KeyWrapCipher:
engineDoFinalengineDoFinalengineGetBlockSizeengineGetIVengineGetKeySizeengineGetOutputSizeengineGetParametersengineInitengineInitengineInitengineSetModeengineSetPaddingengineUnwrapengineUpdateengineUpdateengineWrap

Constructor Detail

AES192_KW_PKCS5Paddingback to summary
public AES192_KW_PKCS5Padding()
com.sun.crypto.provider back to summary

public final Class KeyWrapCipher.AES192_KWP_NoPadding

extends KeyWrapCipher
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from com.sun.crypto.provider.KeyWrapCipher:
engineDoFinalengineDoFinalengineGetBlockSizeengineGetIVengineGetKeySizeengineGetOutputSizeengineGetParametersengineInitengineInitengineInitengineSetModeengineSetPaddingengineUnwrapengineUpdateengineUpdateengineWrap

Constructor Detail

AES192_KWP_NoPaddingback to summary
public AES192_KWP_NoPadding()
com.sun.crypto.provider back to summary

public final Class KeyWrapCipher.AES256_KW_NoPadding

extends KeyWrapCipher
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from com.sun.crypto.provider.KeyWrapCipher:
engineDoFinalengineDoFinalengineGetBlockSizeengineGetIVengineGetKeySizeengineGetOutputSizeengineGetParametersengineInitengineInitengineInitengineSetModeengineSetPaddingengineUnwrapengineUpdateengineUpdateengineWrap

Constructor Detail

AES256_KW_NoPaddingback to summary
public AES256_KW_NoPadding()
com.sun.crypto.provider back to summary

public final Class KeyWrapCipher.AES256_KW_PKCS5Padding

extends KeyWrapCipher
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from com.sun.crypto.provider.KeyWrapCipher:
engineDoFinalengineDoFinalengineGetBlockSizeengineGetIVengineGetKeySizeengineGetOutputSizeengineGetParametersengineInitengineInitengineInitengineSetModeengineSetPaddingengineUnwrapengineUpdateengineUpdateengineWrap

Constructor Detail

AES256_KW_PKCS5Paddingback to summary
public AES256_KW_PKCS5Padding()
com.sun.crypto.provider back to summary

public final Class KeyWrapCipher.AES256_KWP_NoPadding

extends KeyWrapCipher
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from com.sun.crypto.provider.KeyWrapCipher:
engineDoFinalengineDoFinalengineGetBlockSizeengineGetIVengineGetKeySizeengineGetOutputSizeengineGetParametersengineInitengineInitengineInitengineSetModeengineSetPaddingengineUnwrapengineUpdateengineUpdateengineWrap

Constructor Detail

AES256_KWP_NoPaddingback to summary
public AES256_KWP_NoPadding()
com.sun.crypto.provider back to summary

public final Class KeyWrapCipher.AES_KW_NoPadding

extends KeyWrapCipher
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from com.sun.crypto.provider.KeyWrapCipher:
engineDoFinalengineDoFinalengineGetBlockSizeengineGetIVengineGetKeySizeengineGetOutputSizeengineGetParametersengineInitengineInitengineInitengineSetModeengineSetPaddingengineUnwrapengineUpdateengineUpdateengineWrap

Constructor Detail

AES_KW_NoPaddingback to summary
public AES_KW_NoPadding()
com.sun.crypto.provider back to summary

public final Class KeyWrapCipher.AES_KW_PKCS5Padding

extends KeyWrapCipher
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from com.sun.crypto.provider.KeyWrapCipher:
engineDoFinalengineDoFinalengineGetBlockSizeengineGetIVengineGetKeySizeengineGetOutputSizeengineGetParametersengineInitengineInitengineInitengineSetModeengineSetPaddingengineUnwrapengineUpdateengineUpdateengineWrap

Constructor Detail

AES_KW_PKCS5Paddingback to summary
public AES_KW_PKCS5Padding()
com.sun.crypto.provider back to summary

public final Class KeyWrapCipher.AES_KWP_NoPadding

extends KeyWrapCipher
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from com.sun.crypto.provider.KeyWrapCipher:
engineDoFinalengineDoFinalengineGetBlockSizeengineGetIVengineGetKeySizeengineGetOutputSizeengineGetParametersengineInitengineInitengineInitengineSetModeengineSetPaddingengineUnwrapengineUpdateengineUpdateengineWrap

Constructor Detail

AES_KWP_NoPaddingback to summary
public AES_KWP_NoPadding()