| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private class |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public KeyUnwrapper | createKeyUnwrapper(K
the key to initialize the un-wrapper with. key, T the parameters to initialize the un-wrapper with. parameters)Implements org. |
| public KeyWrapper | createKeyWrapper(K
the key to initialize the wrapper with. key, T the parameters to initialize the wrapper with. parameters)Implements org. |
| protected abstract Wrapper |
| GuardedKeyWrapOperatorFactory | back to summary |
|---|---|
| pack-priv GuardedKeyWrapOperatorFactory() | |
| createKeyUnwrapper | back to summary |
|---|---|
| public KeyUnwrapper Implements org. Doc from org. Create a key un-wrapper using the passed in key and parameters.
| |
| createKeyWrapper | back to summary |
|---|---|
| public KeyWrapper Implements org. Doc from org. Create a key wrapper using the passed in key and parameters.
| |
| createWrapper | back to summary |
|---|---|
| protected abstract Wrapper createWrapper(boolean forWrapping, K key, T parameters, SecureRandom random) | |
| Modifier and Type | Field and Description |
|---|---|
| private final Algorithm | |
| private final T | |
| private final Wrapper |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public T | getParameters()
Implements org. |
| public byte[] | unwrap(byte[]
input data array. in, int offset into data array wrapped key starts at. inOff, int length of wrapped key data. inLen)Implements org. |
| algorithm | back to summary |
|---|---|
| private final Algorithm algorithm | |
| parameters | back to summary |
|---|---|
| private final T parameters | |
| wrapper | back to summary |
|---|---|
| private final Wrapper wrapper | |
| GuardedUnwrapper | back to summary |
|---|---|
| pack-priv GuardedUnwrapper(Algorithm algorithm, T parameters, Wrapper wrapper) | |
| getParameters | back to summary |
|---|---|
| public T getParameters() Implements org. Doc from org. Return the parameters for this un-wrapper.
| |
| unwrap | back to summary |
|---|---|
| public byte[] unwrap(byte[] in, int inOff, int inLen) throws InvalidWrappingException Implements org. Doc from org. Return the unwrapped byte encoding of a key.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Algorithm | |
| private final K | |
| private final T | |
| private final SecureRandom | |
| private Wrapper |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public T | getParameters()
Implements org. |
| pack-priv void | |
| public KeyWrapperUsingSecureRandom | withSecureRandom(SecureRandom
the SecureRandom to use. random)Implements org. |
| public byte[] | wrap(byte[]
input data array. in, int offset into data array key data starts at. inOff, int length of key data. inLen)Implements org. |
| algorithm | back to summary |
|---|---|
| private final Algorithm algorithm | |
| key | back to summary |
|---|---|
| private final K key | |
| parameters | back to summary |
|---|---|
| private final T parameters | |
| random | back to summary |
|---|---|
| private final SecureRandom random | |
| wrapper | back to summary |
|---|---|
| private Wrapper wrapper | |
| GuardedWrapper | back to summary |
|---|---|
| pack-priv GuardedWrapper(K key, T parameters, SecureRandom random) | |
| getParameters | back to summary |
|---|---|
| public T getParameters() Implements org. Doc from org. Return the parameters for this wrapper.
| |
| setUp | back to summary |
|---|---|
| pack-priv void setUp() | |
| withSecureRandom | back to summary |
|---|---|
| public KeyWrapperUsingSecureRandom Implements org. Doc from org. Return a variant of this signer using the passed in random as its source of randomness.
| |
| wrap | back to summary |
|---|---|
| public byte[] wrap(byte[] in, int inOff, int inLen) Implements org. Doc from org. Return the wrapped version of a key byte encoding.
| |