|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnu.studer.gradle.credentials.domain.CredentialsEncryptor
public final class CredentialsEncryptor
Encrypts/decrypts credentials through password-based encryption.
Encryption| Method Summary | |
|---|---|
java.lang.String |
decrypt(java.lang.String string)
Decrypts the given string. |
java.lang.String |
encrypt(java.lang.String string)
Encrypts the given string. |
static CredentialsEncryptor |
withPassphrase(char[] passphrase)
Creates a new instance that will use the given passphrase for all encryption/decryption activities. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String encrypt(java.lang.String string)
string - the string to encrypt
public java.lang.String decrypt(java.lang.String string)
string - the string to decrypt
public static CredentialsEncryptor withPassphrase(char[] passphrase)
passphrase - the passphrase to encrypt/decrypt the credentials with
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||