|
spring-android-auth | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.security.crypto.encrypt.AndroidEncryptors
public class AndroidEncryptors
Factory for commonly used encryptors. Defines the public API for constructing BytesEncryptor and
TextEncryptor implementations.
| Method Summary | |
|---|---|
static org.springframework.security.crypto.encrypt.TextEncryptor |
noOpText()
Creates a text encryptor that performs no encryption. |
static org.springframework.security.crypto.encrypt.TextEncryptor |
queryableText(java.lang.CharSequence password,
java.lang.CharSequence salt)
Creates an encryptor for queryable text strings that uses standard password-based encryption. |
static org.springframework.security.crypto.encrypt.BytesEncryptor |
standard(java.lang.CharSequence password,
java.lang.CharSequence salt)
Creates a standard password-based bytes encryptor using 256 bit AES encryption. |
static org.springframework.security.crypto.encrypt.TextEncryptor |
text(java.lang.CharSequence password,
java.lang.CharSequence salt)
Creates a text encryptor that uses standard password-based encryption. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static org.springframework.security.crypto.encrypt.BytesEncryptor standard(java.lang.CharSequence password,
java.lang.CharSequence salt)
password - the password used to generate the encryptor's secret key; should not be sharedsalt - a hex-encoded, random, site-global salt value to use to generate the key
public static org.springframework.security.crypto.encrypt.TextEncryptor text(java.lang.CharSequence password,
java.lang.CharSequence salt)
password - the password used to generate the encryptor's secret key; should not be shared
public static org.springframework.security.crypto.encrypt.TextEncryptor queryableText(java.lang.CharSequence password,
java.lang.CharSequence salt)
password - the password used to generate the encryptor's secret key; should not be sharedsalt - a hex-encoded, random, site-global salt value to use to generate the secret keypublic static org.springframework.security.crypto.encrypt.TextEncryptor noOpText()
|
spring-android-auth | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||