public interface PrivateKeyObfuscator
| Modifier and Type | Method and Description |
|---|---|
<A extends java.lang.Appendable> |
appendPrivateKeyEncryptionContext(A sb,
PrivateKeyEncryptionContext encContext) |
byte[] |
applyPrivateKeyCipher(byte[] bytes,
PrivateKeyEncryptionContext encContext,
boolean encryptIt) |
byte[] |
generateInitializationVector(PrivateKeyEncryptionContext encContext) |
java.lang.String |
getCipherName() |
java.util.List<java.lang.Integer> |
getSupportedKeySizes() |
java.lang.String getCipherName()
java.util.List<java.lang.Integer> getSupportedKeySizes()
List of the supported key sizes - Note: every call returns a and un-modifiable
instance.<A extends java.lang.Appendable> A appendPrivateKeyEncryptionContext(A sb,
PrivateKeyEncryptionContext encContext)
throws java.io.IOException
A - Appendable generic typesb - The Appendable instance to updateencContext - java.io.IOExceptionbyte[] generateInitializationVector(PrivateKeyEncryptionContext encContext) throws java.security.GeneralSecurityException
encContext - The encryption contextjava.security.GeneralSecurityExceptionbyte[] applyPrivateKeyCipher(byte[] bytes,
PrivateKeyEncryptionContext encContext,
boolean encryptIt)
throws java.io.IOException,
java.security.GeneralSecurityException
bytes - Original bytesencContext - The encryption contextencryptIt - If true then encrypt the original bytes, otherwise decrypt themjava.io.IOException - If malformed inputjava.security.GeneralSecurityException - If cannot encrypt/decrypt