Package | Description |
---|---|
de.innovationgate.utils |
Generic various-purpose utility classes.
|
de.innovationgate.utils.security |
Encrypting and security related stuff
|
Modifier and Type | Method and Description |
---|---|
void |
DESEncrypter.init(java.io.File keyFile)
Deprecated.
Initializes the DESEncrypter reading a encryption key from a file.
|
void |
DESEncrypter.init(java.io.InputStream in)
Deprecated.
Initializes the DESEncrypter reading a encryption key from an input stream.
|
void |
DESEncrypter.initObfuscation()
Deprecated.
Initializes the DESEncrypter using an obfuscation key
|
Modifier and Type | Method and Description |
---|---|
static void |
RSAKeyPairUtils.changePassphrase(RSAKeyPair keyPair,
java.lang.String oldPassphrase,
java.lang.String newPassphrase) |
byte[] |
RSAEncrypter.decrypt(RSAEncrypter.RSAEncryptedData input)
Decrypts the given RSAEncryptedData
|
java.lang.Object |
RSAEncrypter.decryptItemValue(java.lang.Object value)
Decrypts the given item value if it is RSA encryped.
|
static RSAKeyPair |
RSAKeyPairUtils.generateRSAKeyPair(java.lang.String passphrase)
generates a new RSA keypair
and sets the passphrase on the private key if passphrase !
|
static byte[] |
RSAKeyPairUtils.getPrivateKey(RSAKeyPair keyPair,
java.lang.String passphrase) |
static boolean |
RSAKeyPairUtils.isPassphraseCorrect(RSAKeyPair keyPair,
java.lang.String passphrase) |