Skip navigation links
A B C D E F G H K N O P R S U 

A

apply() - Method in class at.favre.lib.armadillo.SecureSharedPreferences.Editor
 
Armadillo - Class in at.favre.lib.armadillo
 
Armadillo.Builder - Class in at.favre.lib.armadillo
 
at.favre.lib.armadillo - package at.favre.lib.armadillo
 
AuthenticatedEncryption - Interface in at.favre.lib.armadillo
Authenticated encryption (AE) and authenticated encryption with associated data (AEAD, variant of AE) is a form of encryption which simultaneously provides confidentiality, integrity, and authenticity assurances on the data.
AuthenticatedEncryption.KeyStrength - Annotation Type in at.favre.lib.armadillo
 
AuthenticatedEncryptionException - Exception in at.favre.lib.armadillo
 
AuthenticatedEncryptionException(String) - Constructor for exception at.favre.lib.armadillo.AuthenticatedEncryptionException
 
AuthenticatedEncryptionException(String, Throwable) - Constructor for exception at.favre.lib.armadillo.AuthenticatedEncryptionException
 

B

build() - Method in class at.favre.lib.armadillo.Armadillo.Builder
Build a SharedPreferences instance
ByteArrayRuntimeObfuscator - Interface in at.favre.lib.armadillo
Simple wrapper for obfuscated byte array.
ByteArrayRuntimeObfuscator.Default - Class in at.favre.lib.armadillo
 
byteSizeLength(int) - Method in interface at.favre.lib.armadillo.AuthenticatedEncryption
Get the required key size length in byte for given security strenght type

C

clear() - Method in class at.favre.lib.armadillo.SecureSharedPreferences.Editor
 
clearKey() - Method in interface at.favre.lib.armadillo.DataObfuscator
Clears the internal key reference
clearKey() - Method in class at.favre.lib.armadillo.HkdfXorObfuscator
 
clearKey() - Method in class at.favre.lib.armadillo.NoObfuscator
 
commit() - Method in class at.favre.lib.armadillo.SecureSharedPreferences.Editor
 
contains(String) - Method in class at.favre.lib.armadillo.SecureSharedPreferences
 
CONTENT_KEY_OUT_BYTE_LENGTH - Static variable in class at.favre.lib.armadillo.Armadillo
 
contentKeyDigest(byte[]) - Method in class at.favre.lib.armadillo.Armadillo.Builder
 
contentKeyDigest(int) - Method in class at.favre.lib.armadillo.Armadillo.Builder
 
contentKeyDigest(StringMessageDigest) - Method in class at.favre.lib.armadillo.Armadillo.Builder
 
create(SharedPreferences) - Static method in class at.favre.lib.armadillo.Armadillo
 
create(Context, String) - Static method in class at.favre.lib.armadillo.Armadillo
 
create(byte[]) - Method in interface at.favre.lib.armadillo.DataObfuscator.Factory
Creates a new data obfuscator with given key
create(Context, String) - Static method in class at.favre.lib.armadillo.EncryptionFingerprintFactory
 
create(byte[]) - Method in interface at.favre.lib.armadillo.EncryptionProtocol.Factory
 
create(byte[]) - Method in class at.favre.lib.armadillo.HkdfXorObfuscator.Factory
 
create(byte[]) - Method in class at.favre.lib.armadillo.NoObfuscator.Factory
 
createDataObfuscator() - Method in interface at.favre.lib.armadillo.EncryptionProtocol.Factory
 
cryptoProtocolVersion(int) - Method in class at.favre.lib.armadillo.Armadillo.Builder
Per default the crypto/data format version is '0', but if the behavior is changed by e.g.

D

DataObfuscator - Interface in at.favre.lib.armadillo
Data obfuscation which obfuscates the given byte arrays.
DataObfuscator.Factory - Interface in at.favre.lib.armadillo
Factory method for obfuscator
dataObfuscatorFactory(DataObfuscator.Factory) - Method in class at.favre.lib.armadillo.Armadillo.Builder
Set your own data obfuscation implementation.
decrypt(byte[], byte[], byte[]) - Method in interface at.favre.lib.armadillo.AuthenticatedEncryption
Decrypt and verifies the authenticity of given encrypted data
decrypt(String, byte[]) - Method in interface at.favre.lib.armadillo.EncryptionProtocol
 
decrypt(String, char[], byte[]) - Method in interface at.favre.lib.armadillo.EncryptionProtocol
 
Default(byte[]) - Constructor for class at.favre.lib.armadillo.EncryptionFingerprint.Default
 
Default(boolean, boolean) - Constructor for class at.favre.lib.armadillo.RecoveryPolicy.Default
 
deobfuscate(byte[]) - Method in interface at.favre.lib.armadillo.DataObfuscator
De-Obfuscates the given byte array.
deobfuscate(byte[]) - Method in class at.favre.lib.armadillo.HkdfXorObfuscator
 
deobfuscate(byte[]) - Method in class at.favre.lib.armadillo.NoObfuscator
 
derive(String, String) - Method in interface at.favre.lib.armadillo.StringMessageDigest
Derives given key given by the caller with given usage description to a hash
deriveContentKey(String) - Method in interface at.favre.lib.armadillo.EncryptionProtocol
 

E

edit() - Method in class at.favre.lib.armadillo.SecureSharedPreferences
 
encrypt(byte[], byte[], byte[]) - Method in interface at.favre.lib.armadillo.AuthenticatedEncryption
Encrypts and adds a authentication tag the given content
encrypt(String, byte[]) - Method in interface at.favre.lib.armadillo.EncryptionProtocol
 
encrypt(String, char[], byte[]) - Method in interface at.favre.lib.armadillo.EncryptionProtocol
 
encryptionFingerprint(Context) - Method in class at.favre.lib.armadillo.Armadillo.Builder
 
encryptionFingerprint(Context, byte[]) - Method in class at.favre.lib.armadillo.Armadillo.Builder
 
encryptionFingerprint(Context, String...) - Method in class at.favre.lib.armadillo.Armadillo.Builder
 
encryptionFingerprint(EncryptionFingerprint) - Method in class at.favre.lib.armadillo.Armadillo.Builder
 
encryptionFingerprint(byte[]) - Method in class at.favre.lib.armadillo.Armadillo.Builder
 
EncryptionFingerprint - Interface in at.favre.lib.armadillo
 
EncryptionFingerprint.Default - Class in at.favre.lib.armadillo
 
EncryptionFingerprintFactory - Class in at.favre.lib.armadillo
 
encryptionKeyStrength(int) - Method in class at.favre.lib.armadillo.Armadillo.Builder
Set the key length for the symmetric encryption.
EncryptionProtocol - Interface in at.favre.lib.armadillo
 
EncryptionProtocol.Factory - Interface in at.favre.lib.armadillo
 
EncryptionProtocolException - Exception in at.favre.lib.armadillo
 
EncryptionProtocolException(String) - Constructor for exception at.favre.lib.armadillo.EncryptionProtocolException
 
EncryptionProtocolException(String, Throwable) - Constructor for exception at.favre.lib.armadillo.EncryptionProtocolException
 
EncryptionProtocolException(Throwable) - Constructor for exception at.favre.lib.armadillo.EncryptionProtocolException
 

F

Factory() - Constructor for class at.favre.lib.armadillo.HkdfXorObfuscator.Factory
 
Factory() - Constructor for class at.favre.lib.armadillo.NoObfuscator.Factory
 
FastKeyStretcher - Class in at.favre.lib.armadillo
This is a implementation for a key derivation function with disabled key stretching function.
FastKeyStretcher() - Constructor for class at.favre.lib.armadillo.FastKeyStretcher
 

G

getAll() - Method in class at.favre.lib.armadillo.SecureSharedPreferences
This will get all handled keys from the store.
getBoolean(String, boolean) - Method in class at.favre.lib.armadillo.SecureSharedPreferences
 
getBytes() - Method in class at.favre.lib.armadillo.ByteArrayRuntimeObfuscator.Default
 
getBytes() - Method in interface at.favre.lib.armadillo.ByteArrayRuntimeObfuscator
Get an de-obfuscated copy of the original data.
getBytes() - Method in class at.favre.lib.armadillo.EncryptionFingerprint.Default
 
getBytes() - Method in interface at.favre.lib.armadillo.EncryptionFingerprint
 
getFloat(String, float) - Method in class at.favre.lib.armadillo.SecureSharedPreferences
 
getInt(String, int) - Method in class at.favre.lib.armadillo.SecureSharedPreferences
 
getLong(String, long) - Method in class at.favre.lib.armadillo.SecureSharedPreferences
 
getSecureRandom() - Method in interface at.favre.lib.armadillo.EncryptionProtocol.Factory
 
getString(String, String) - Method in class at.favre.lib.armadillo.SecureSharedPreferences
 
getStringMessageDigest() - Method in interface at.favre.lib.armadillo.EncryptionProtocol.Factory
 
getStringSet(String, Set<String>) - Method in class at.favre.lib.armadillo.SecureSharedPreferences
 

H

HkdfXorObfuscator - Class in at.favre.lib.armadillo
A simple obfuscator using HKDF to derive keys for individual blocks and uses a simple version of CTR block mode.
HkdfXorObfuscator.Factory - Class in at.favre.lib.armadillo
 

K

keyStretchingFunction(KeyStretchingFunction) - Method in class at.favre.lib.armadillo.Armadillo.Builder
Set a different key derivation function for provided password.
KeyStretchingFunction - Interface in at.favre.lib.armadillo
In cryptography, key stretching techniques are used to make a possibly weak key, typically a password or passphrase, more secure against a brute-force attack by increasing the time it takes to test each possible key.

N

NoObfuscator - Class in at.favre.lib.armadillo
 
NoObfuscator() - Constructor for class at.favre.lib.armadillo.NoObfuscator
 
NoObfuscator.Factory - Class in at.favre.lib.armadillo
 

O

obfuscate(byte[]) - Method in interface at.favre.lib.armadillo.DataObfuscator
Obfuscates the given byte array.
obfuscate(byte[]) - Method in class at.favre.lib.armadillo.HkdfXorObfuscator
 
obfuscate(byte[]) - Method in class at.favre.lib.armadillo.NoObfuscator
 

P

password(char[]) - Method in class at.favre.lib.armadillo.Armadillo.Builder
Provide a user password used for all of entries of the SharedPreferences.
PBKDF2KeyStretcher - Class in at.favre.lib.armadillo
In cryptography, PBKDF2 (Password-Based Key Derivation Function 2) are key derivation functions with a sliding computational cost, aimed to reduce the vulnerability of encrypted keys to brute force attacks.
PBKDF2KeyStretcher() - Constructor for class at.favre.lib.armadillo.PBKDF2KeyStretcher
Create a new instance with default iteration count (see PBKDF2KeyStretcher.PBKDF2_DEFAULT_ITERATIONS
PBKDF2KeyStretcher(int, Provider) - Constructor for class at.favre.lib.armadillo.PBKDF2KeyStretcher
Creates a new instance.
putBoolean(String, boolean) - Method in class at.favre.lib.armadillo.SecureSharedPreferences.Editor
 
putFloat(String, float) - Method in class at.favre.lib.armadillo.SecureSharedPreferences.Editor
 
putInt(String, int) - Method in class at.favre.lib.armadillo.SecureSharedPreferences.Editor
 
putLong(String, long) - Method in class at.favre.lib.armadillo.SecureSharedPreferences.Editor
 
putString(String, String) - Method in class at.favre.lib.armadillo.SecureSharedPreferences.Editor
 
putStringSet(String, Set<String>) - Method in class at.favre.lib.armadillo.SecureSharedPreferences.Editor
 

R

recoveryPolicy(boolean, boolean) - Method in class at.favre.lib.armadillo.Armadillo.Builder
 
recoveryPolicy(RecoveryPolicy) - Method in class at.favre.lib.armadillo.Armadillo.Builder
 
RecoveryPolicy - Interface in at.favre.lib.armadillo
 
RecoveryPolicy.Default - Class in at.favre.lib.armadillo
 
registerOnSharedPreferenceChangeListener(SharedPreferences.OnSharedPreferenceChangeListener) - Method in class at.favre.lib.armadillo.SecureSharedPreferences
 
remove(String) - Method in class at.favre.lib.armadillo.SecureSharedPreferences.Editor
 

S

secureRandom(SecureRandom) - Method in class at.favre.lib.armadillo.Armadillo.Builder
Provide your own SecureRandom implementation.
SecureSharedPreferenceCryptoException - Exception in at.favre.lib.armadillo
 
SecureSharedPreferenceCryptoException(String, Throwable) - Constructor for exception at.favre.lib.armadillo.SecureSharedPreferenceCryptoException
 
SecureSharedPreferences - Class in at.favre.lib.armadillo
 
SecureSharedPreferences(Context, String, EncryptionProtocol.Factory, char[]) - Constructor for class at.favre.lib.armadillo.SecureSharedPreferences
 
SecureSharedPreferences(Context, String, EncryptionProtocol.Factory, RecoveryPolicy, char[]) - Constructor for class at.favre.lib.armadillo.SecureSharedPreferences
 
SecureSharedPreferences(SharedPreferences, EncryptionProtocol.Factory, RecoveryPolicy, char[]) - Constructor for class at.favre.lib.armadillo.SecureSharedPreferences
 
SecureSharedPreferences.Editor - Class in at.favre.lib.armadillo
Wrapper for Android's SharedPreferences.Editor.
securityProvider(Provider) - Method in class at.favre.lib.armadillo.Armadillo.Builder
Set the security provider for most cryptographic primitives (symmetric encryption, pbkdf2, ...).
shouldRemoveBrokenContent() - Method in class at.favre.lib.armadillo.RecoveryPolicy.Default
 
shouldRemoveBrokenContent() - Method in interface at.favre.lib.armadillo.RecoveryPolicy
 
shouldThrowRuntimeException() - Method in class at.favre.lib.armadillo.RecoveryPolicy.Default
 
shouldThrowRuntimeException() - Method in interface at.favre.lib.armadillo.RecoveryPolicy
 
STRENGTH_HIGH - Static variable in interface at.favre.lib.armadillo.AuthenticatedEncryption
High Security which is equivalent to a AES key size of 128 bit
STRENGTH_VERY_HIGH - Static variable in interface at.favre.lib.armadillo.AuthenticatedEncryption
Very high security which is equivalent to a AES key size of 256 bit Note: This is usually not required.
stretch(byte[], char[], int) - Method in class at.favre.lib.armadillo.FastKeyStretcher
 
stretch(byte[], char[], int) - Method in interface at.favre.lib.armadillo.KeyStretchingFunction
Derives and stretches the given password with given salt to desired out length.
stretch(byte[], char[], int) - Method in class at.favre.lib.armadillo.PBKDF2KeyStretcher
 
StringMessageDigest - Interface in at.favre.lib.armadillo
A hash function to convert a string and usage name to a string representation of a hash.
symmetricEncryption(AuthenticatedEncryption) - Method in class at.favre.lib.armadillo.Armadillo.Builder
Set your own implementation of AuthenticatedEncryption.

U

unregisterOnSharedPreferenceChangeListener(SharedPreferences.OnSharedPreferenceChangeListener) - Method in class at.favre.lib.armadillo.SecureSharedPreferences
 
A B C D E F G H K N O P R S U 
Skip navigation links