public class JCEAccessor extends Object
| Constructor and Description |
|---|
JCEAccessor()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowPrivateKeyExport()
Tells whether it is possible for the JCE manager to export private keys.
|
String |
getDefaultAlgorithm()
Deprecated.
No replacement.
|
Cipher |
getDefaultDecryptionCipher()
Deprecated.
No replacement.
|
Cipher |
getDefaultEncryptionCipher()
Deprecated.
No replacement.
|
SecretKeySpec |
getDefaultSecretKeySpec()
Deprecated.
No replacement.
|
boolean |
inLunaMode()
Deprecated.
As of release 6.11, use
isFIPSCompliant(). |
boolean |
isFIPSCompliant()
Tells whether the underlying JCE manager is FIPS compliant.
|
byte[] |
obfuscate(byte[] clearBytes)
Deprecated.
No replacement.
|
byte[] |
unobfuscate(byte[] obfuscatedBytes)
Deprecated.
No replacement.
|
@Deprecated public boolean inLunaMode()
isFIPSCompliant().public boolean isFIPSCompliant()
public boolean allowPrivateKeyExport()
@Deprecated public Cipher getDefaultEncryptionCipher()
Blowfish for the default algorithm, or AES
for the other JCE manager implementations.Cipher object initialized to use the default algorithm.com.pingidentity.common.util.ObfuscationException@Deprecated public Cipher getDefaultDecryptionCipher()
Blowfish for the default algorithm, or AES for the
other JCE manager implementations.Cipher object initialized to use the default algorithm.com.pingidentity.common.util.ObfuscationException@Deprecated public SecretKeySpec getDefaultSecretKeySpec()
SecretKeySpec object that was initialized using SHA1PRNG and the default
algorithm. The SecretKeySpec is used when creating the appropriate
Cipher object.SecretKeySpec object.com.pingidentity.common.util.ObfuscationException@Deprecated public String getDefaultAlgorithm()
Blowfish for the default algorithm,
or AES for the other JCE manager implementations.Blowfish or AES, depending on which JCE manager implementation is used.@Deprecated public byte[] obfuscate(byte[] clearBytes)
getDefaultAlgorithm(),
getDefaultSecretKeySpec() and getDefaultEncryptionCipher().clearBytes - The bytes to obfuscate using the default algorithm.com.pingidentity.common.util.ObfuscationException@Deprecated public byte[] unobfuscate(byte[] obfuscatedBytes)
getDefaultAlgorithm(),
getDefaultSecretKeySpec() and getDefaultDecryptionCipher().obfuscatedBytes - The obfuscated bytes that need to be unobfuscated.com.pingidentity.common.util.ObfuscationExceptionCopyright 2019 Ping Identity Corp. All rights reserved.