Skip navigation links
A B C D E G S T V 

A

Alice - Class in com.rockaport.alice
The main Alice API for encryption and decryption of byte arrays and files.
Alice(AliceContext) - Constructor for class com.rockaport.alice.Alice
Initializes a new Alice object for encryption and decryption.
AliceContext - Class in com.rockaport.alice
Context passed into Alice.
AliceContext(AliceContext.Algorithm, AliceContext.Mode, AliceContext.Padding, AliceContext.KeyLength, AliceContext.Pbkdf, AliceContext.MacAlgorithm, int, AliceContext.GcmTagLength, int) - Constructor for class com.rockaport.alice.AliceContext
Initializes a new AliceContext for use with Alice.
AliceContext.Algorithm - Enum in com.rockaport.alice
Algorithm used for the Cipher
AliceContext.GcmTagLength - Enum in com.rockaport.alice
Supported GCM tag lengths.
AliceContext.KeyLength - Enum in com.rockaport.alice
Cipher key length
AliceContext.MacAlgorithm - Enum in com.rockaport.alice
Supported Messsage Authentication Algorithms (MAC).
AliceContext.Mode - Enum in com.rockaport.alice
Mode used for the Cipher
AliceContext.Padding - Enum in com.rockaport.alice
Cipher algorithm padding
AliceContext.Pbkdf - Enum in com.rockaport.alice
Supported Password Based Key Derivation Function (PBKDF) algorithms.
AliceContextBuilder - Class in com.rockaport.alice
Used to build an AliceContext.
AliceContextBuilder() - Constructor for class com.rockaport.alice.AliceContextBuilder
 

B

bits() - Method in enum com.rockaport.alice.AliceContext.GcmTagLength
 
bits() - Method in enum com.rockaport.alice.AliceContext.KeyLength
 
build() - Method in class com.rockaport.alice.AliceContextBuilder
Creates an AliceContext with the arguments supplied to this builder.
bytes() - Method in enum com.rockaport.alice.AliceContext.KeyLength
 

C

com.rockaport.alice - package com.rockaport.alice
Alice provides AES encryption and decryption methods for byte arrays and files.

D

decrypt(byte[], char[]) - Method in class com.rockaport.alice.Alice
Decrypts a byte array using the supplied password
decrypt(File, File, char[]) - Method in class com.rockaport.alice.Alice
Decrypts an input file using the supplied password
decrypt(InputStream, OutputStream, char[]) - Method in class com.rockaport.alice.Alice
Decrypts an input stream using the supplied password

E

encrypt(byte[], char[]) - Method in class com.rockaport.alice.Alice
Encrypts a byte array using the supplied password
encrypt(File, File, char[]) - Method in class com.rockaport.alice.Alice
Encrypts the input file using the supplied password
encrypt(InputStream, OutputStream, char[]) - Method in class com.rockaport.alice.Alice
Encrypts the input stream using the supplied password

G

generateKey(AliceContext.Algorithm, AliceContext.KeyLength) - Static method in class com.rockaport.alice.Alice
Generates an AES, DES, or 3DES key
getAlgorithm() - Method in class com.rockaport.alice.AliceContext
 
getGcmTagLength() - Method in class com.rockaport.alice.AliceContext
 
getIterations() - Method in class com.rockaport.alice.AliceContext
 
getIvLength() - Method in class com.rockaport.alice.AliceContext
 
getKeyLength() - Method in class com.rockaport.alice.AliceContext
 
getMacAlgorithm() - Method in class com.rockaport.alice.AliceContext
 
getMode() - Method in class com.rockaport.alice.AliceContext
 
getPadding() - Method in class com.rockaport.alice.AliceContext
 
getPbkdf() - Method in class com.rockaport.alice.AliceContext
 

S

setAlgorithm(AliceContext.Algorithm) - Method in class com.rockaport.alice.AliceContextBuilder
Sets the cipher algorithm.
setGcmTagLength(AliceContext.GcmTagLength) - Method in class com.rockaport.alice.AliceContextBuilder
Sets the GCM tag length.
setIterations(int) - Method in class com.rockaport.alice.AliceContextBuilder
Sets the iterations for the Pbkdf algorithm.
setIvLength(int) - Method in class com.rockaport.alice.AliceContextBuilder
Sets the initialization vector.
setKeyLength(AliceContext.KeyLength) - Method in class com.rockaport.alice.AliceContextBuilder
Sets the cipher key length.
setMacAlgorithm(AliceContext.MacAlgorithm) - Method in class com.rockaport.alice.AliceContextBuilder
Sets the MAC algorithm.
setMode(AliceContext.Mode) - Method in class com.rockaport.alice.AliceContextBuilder
Sets the cipher algorithm mode.
setPadding(AliceContext.Padding) - Method in class com.rockaport.alice.AliceContextBuilder
Sets the cipher algorithm padding.
setPbkdf(AliceContext.Pbkdf) - Method in class com.rockaport.alice.AliceContextBuilder
Sets the Pbkdf algorithm.

T

toString() - Method in enum com.rockaport.alice.AliceContext.Algorithm
 
toString() - Method in enum com.rockaport.alice.AliceContext.MacAlgorithm
 
toString() - Method in enum com.rockaport.alice.AliceContext.Mode
 
toString() - Method in enum com.rockaport.alice.AliceContext.Padding
 
toString() - Method in enum com.rockaport.alice.AliceContext.Pbkdf
 

V

valueOf(String) - Static method in enum com.rockaport.alice.AliceContext.Algorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.rockaport.alice.AliceContext.GcmTagLength
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.rockaport.alice.AliceContext.KeyLength
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.rockaport.alice.AliceContext.MacAlgorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.rockaport.alice.AliceContext.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.rockaport.alice.AliceContext.Padding
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.rockaport.alice.AliceContext.Pbkdf
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.rockaport.alice.AliceContext.Algorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.rockaport.alice.AliceContext.GcmTagLength
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.rockaport.alice.AliceContext.KeyLength
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.rockaport.alice.AliceContext.MacAlgorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.rockaport.alice.AliceContext.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.rockaport.alice.AliceContext.Padding
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.rockaport.alice.AliceContext.Pbkdf
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E G S T V 
Skip navigation links