
public final class RawSecretKeyFactory extends SecretKeyFactorySpi
SecretKeyFactorySpi that returns the given KeySpec or SecretKey verbatim. Needed for the
PKCS#12 KeyStore support in CredentialStore.| Constructor and Description |
|---|
RawSecretKeyFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected SecretKey |
engineGenerateSecret(KeySpec keySpec) |
protected KeySpec |
engineGetKeySpec(SecretKey key,
Class<?> keySpec) |
protected SecretKey |
engineTranslateKey(SecretKey key) |
protected SecretKey engineGenerateSecret(KeySpec keySpec) throws InvalidKeySpecException
engineGenerateSecret in class SecretKeyFactorySpiInvalidKeySpecExceptionprotected KeySpec engineGetKeySpec(SecretKey key, Class<?> keySpec) throws InvalidKeySpecException
engineGetKeySpec in class SecretKeyFactorySpiInvalidKeySpecExceptionprotected SecretKey engineTranslateKey(SecretKey key) throws InvalidKeyException
engineTranslateKey in class SecretKeyFactorySpiInvalidKeyExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.