| Modifier and Type | Class and Description |
|---|---|
| pack-priv static interface |
| Modifier and Type | Field and Description |
|---|---|
| protected final Algorithm | |
| protected final String | |
| protected final BaseSecretKeyFactory. |
| Access | Constructor and Description |
|---|---|
| pack-priv | BaseSecretKeyFactory(String algorithmName, Algorithm algorithm, BaseSecretKeyFactory.
|
| Modifier and Type | Method and Description |
|---|---|
| protected SecretKey | engineGenerateSecret(KeySpec
the specification (key material) of the secret key keySpec)Implements abstract javax. SecretKey object from the
provided key specification (key material).
|
| protected KeySpec | engineGetKeySpec(SecretKey
the key key, Class<T> the requested format in which the key material shall be
returned keySpec)Implements abstract javax. |
| protected SecretKey | engineTranslateKey(SecretKey
the key whose provider is unknown or untrusted secretKey)Implements abstract javax. |
| protected KeySpec |
| algorithm | back to summary |
|---|---|
| protected final Algorithm algorithm | |
| algorithmName | back to summary |
|---|---|
| protected final String algorithmName | |
| validator | back to summary |
|---|---|
| protected final BaseSecretKeyFactory. | |
| BaseSecretKeyFactory | back to summary |
|---|---|
| pack-priv BaseSecretKeyFactory(String algorithmName, Algorithm algorithm, BaseSecretKeyFactory. | |
| engineGenerateSecret | back to summary |
|---|---|
| protected SecretKey engineGenerateSecret(KeySpec keySpec) throws InvalidKeySpecException Implements abstract javax. Doc from javax. Generates a
| |
| engineGetKeySpec | back to summary |
|---|---|
| protected KeySpec engineGetKeySpec(SecretKey key, Class<T> keySpec) throws InvalidKeySpecException Implements abstract javax. Doc from javax. Returns a specification (key material) of the given key object in the requested format.
| |
| engineTranslateKey | back to summary |
|---|---|
| protected SecretKey engineTranslateKey(SecretKey secretKey) throws InvalidKeyException Implements abstract javax. Doc from javax. Translates a key object, whose provider may be unknown or potentially untrusted, into a corresponding key object of this secret-key factory.
| |
| genericGetKeySpec | back to summary |
|---|---|
| protected KeySpec genericGetKeySpec(SecretKey key, Class<T> keySpec) throws InvalidKeySpecException | |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] |
| validated | back to summary |
|---|---|
| public byte[] validated(byte[] keyBytes) throws InvalidKeySpecException | |