Overview
Package
Class
Use
Tree
Deprecated
Index
aerogear-crypto 0.1.0
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
M
N
O
P
R
S
T
U
V
A
AeroGearCrypto
- Class in
org.jboss.aerogear
Provides constants and static factories to be used inside the project
AeroGearCrypto()
- Constructor for class org.jboss.aerogear.
AeroGearCrypto
Algorithm
- Enum in
org.jboss.aerogear.crypto
Representation of the algorithms supported
Algorithm(String, int)
- Constructor for enum org.jboss.aerogear.crypto.
Algorithm
ALGORITHM
- Static variable in class org.jboss.aerogear.crypto.
Random
authData
- Variable in class org.jboss.aerogear.crypto.
CryptoBox
B
BlockCipher
- Class in
org.jboss.aerogear.crypto
Representation of the cipher modes supported
BlockCipher()
- Constructor for class org.jboss.aerogear.crypto.
BlockCipher
BlockCipher.Mode
- Enum in
org.jboss.aerogear.crypto
Block modes supported
BlockCipher.Mode(String, Padding)
- Constructor for enum org.jboss.aerogear.crypto.
BlockCipher.Mode
C
CHARSET
- Static variable in interface org.jboss.aerogear.crypto.encoders.
Encoder
checkLength(byte[], int)
- Static method in class org.jboss.aerogear.crypto.
Util
Validate the length of the data provided
checkSize(int, int)
- Static method in class org.jboss.aerogear.crypto.
Util
Validate the minimum size supported by the parameter
cipher
- Variable in class org.jboss.aerogear.crypto.
CryptoBox
CryptoBox
- Class in
org.jboss.aerogear.crypto
Class responsible for box and unbox crypto messages given the key
CryptoBox(byte[])
- Constructor for class org.jboss.aerogear.crypto.
CryptoBox
Initializes the box providing the secret key
CryptoBox(PrivateKey)
- Constructor for class org.jboss.aerogear.crypto.
CryptoBox
Initializes the box providing the secret key
CryptoBox(String, Encoder)
- Constructor for class org.jboss.aerogear.crypto.
CryptoBox
Initializes the box providing the secret key and encoder
CryptoBox(PrivateKey, PublicKey)
- Constructor for class org.jboss.aerogear.crypto.
CryptoBox
Initializes the box providing the key pair for asymmetric encryption
D
decode(String)
- Method in interface org.jboss.aerogear.crypto.encoders.
Encoder
Decode a provided string to bytes
decode(String)
- Method in class org.jboss.aerogear.crypto.encoders.
Hex
decode(String)
- Method in class org.jboss.aerogear.crypto.encoders.
Raw
Decode the provided string
decodeHex(char[])
- Static method in class org.jboss.aerogear.crypto.encoders.
Hex
Converts an array of characters representing hexadecimal values into an array of bytes of those same values.
decrypt(byte[], byte[])
- Method in class org.jboss.aerogear.crypto.
CryptoBox
Given the IV, decrypt the provided data
decrypt(String, String, Encoder)
- Method in class org.jboss.aerogear.crypto.
CryptoBox
Given the IV, decrypt the provided data
DefaultPbkdf2
- Class in
org.jboss.aerogear.crypto.password
DefaultPbkdf2(SecretKeyFactory)
- Constructor for class org.jboss.aerogear.crypto.password.
DefaultPbkdf2
DERIVED_KEY_LENGTH
- Static variable in class org.jboss.aerogear.
AeroGearCrypto
DIGITS_LOWER
- Static variable in class org.jboss.aerogear.crypto.encoders.
Hex
Used to build output as Hex
DIGITS_UPPER
- Static variable in class org.jboss.aerogear.crypto.encoders.
Hex
Used to build output as Hex
E
encode(byte[])
- Method in interface org.jboss.aerogear.crypto.encoders.
Encoder
Encode the provided data to string
encode(byte[])
- Method in class org.jboss.aerogear.crypto.encoders.
Hex
Converts an array of bytes into a String representing the hexadecimal values of each byte in order.
encode(byte[])
- Method in class org.jboss.aerogear.crypto.encoders.
Raw
Encode the provided sequence of bytes
encodeHex(byte[])
- Static method in class org.jboss.aerogear.crypto.encoders.
Hex
Converts an array of bytes into an array of characters representing the hexadecimal values of each byte in order.
encodeHex(byte[], boolean)
- Static method in class org.jboss.aerogear.crypto.encoders.
Hex
Converts an array of bytes into an array of characters representing the hexadecimal values of each byte in order.
encodeHex(byte[], char[])
- Static method in class org.jboss.aerogear.crypto.encoders.
Hex
Converts an array of bytes into an array of characters representing the hexadecimal values of each byte in order.
Encoder
- Interface in
org.jboss.aerogear.crypto.encoders
Provides a level of abstraction for encoding schemes
encrypt(byte[], byte[])
- Method in class org.jboss.aerogear.crypto.
CryptoBox
Given the IV, encrypt the provided data
encrypt(String, String, Encoder)
- Method in class org.jboss.aerogear.crypto.
CryptoBox
Given the IV, encrypt and encode the provided data
encrypt(String, byte[], int)
- Method in class org.jboss.aerogear.crypto.password.
DefaultPbkdf2
encrypt(String, byte[])
- Method in class org.jboss.aerogear.crypto.password.
DefaultPbkdf2
encrypt(String)
- Method in class org.jboss.aerogear.crypto.password.
DefaultPbkdf2
encrypt(String, byte[], int)
- Method in interface org.jboss.aerogear.crypto.password.
Pbkdf2
Generate the secret key
encrypt(String, byte[])
- Method in interface org.jboss.aerogear.crypto.password.
Pbkdf2
Generate the secret key
encrypt(String)
- Method in interface org.jboss.aerogear.crypto.password.
Pbkdf2
Generate the secret key
F
formatter(Algorithm, BlockCipher.Mode)
- Static method in class org.jboss.aerogear.crypto.
Util
Utility method to format algorithms name in Java like way
formatter(BlockCipher.Mode, Padding)
- Static method in class org.jboss.aerogear.crypto.
Util
Utility method to format algorithms name in Java like way
G
generateSecret(PrivateKey, PublicKey)
- Method in class org.jboss.aerogear.crypto.
CryptoBox
getInstance()
- Static method in class org.jboss.aerogear.crypto.
BlockCipher
getIV()
- Static method in class org.jboss.aerogear.crypto.
BlockCipher
Generates a non-predictable initialization vector
getKeySize()
- Method in enum org.jboss.aerogear.crypto.
Algorithm
Key size
getNewCipher(BlockCipher.Mode)
- Static method in class org.jboss.aerogear.crypto.
BlockCipher
Retrieve a new instance of the block mode provided
getPrivateKey()
- Method in class org.jboss.aerogear.crypto.keys.
KeyPair
Access to the private key
getPublicKey()
- Method in class org.jboss.aerogear.crypto.keys.
KeyPair
Access to the public key
getSalt()
- Method in class org.jboss.aerogear.crypto.password.
DefaultPbkdf2
getSecureRandom()
- Method in class org.jboss.aerogear.crypto.
Random
Retrieve the reference to the SecureRandom object
H
HEX
- Static variable in interface org.jboss.aerogear.crypto.encoders.
Encoder
Hex
- Class in
org.jboss.aerogear.crypto.encoders
Converts hexadecimal Strings.
Hex()
- Constructor for class org.jboss.aerogear.crypto.encoders.
Hex
I
IS_ANDROID
- Static variable in class org.jboss.aerogear.crypto.
Util
isAndroid()
- Static method in class org.jboss.aerogear.crypto.
Util
Verify if the platform is running Android
ITERATIONS
- Static variable in class org.jboss.aerogear.
AeroGearCrypto
IV_LENGTH
- Static variable in class org.jboss.aerogear.
AeroGearCrypto
K
key
- Variable in class org.jboss.aerogear.crypto.
CryptoBox
KeyPair
- Class in
org.jboss.aerogear.crypto.keys
Represents a pair of cryptographic keys (a public and a private key) used for asymmetric encryption
KeyPair()
- Constructor for class org.jboss.aerogear.crypto.keys.
KeyPair
Initialize the key pair with the standard curve name
keyPair
- Variable in class org.jboss.aerogear.crypto.keys.
KeyPair
keySize
- Variable in enum org.jboss.aerogear.crypto.
Algorithm
M
MINIMUM_ITERATION
- Static variable in class org.jboss.aerogear.
AeroGearCrypto
MINIMUM_SALT_LENGTH
- Static variable in class org.jboss.aerogear.
AeroGearCrypto
MINIMUM_SECRET_KEY_SIZE
- Static variable in class org.jboss.aerogear.
AeroGearCrypto
mode
- Variable in enum org.jboss.aerogear.crypto.
BlockCipher.Mode
N
name
- Variable in enum org.jboss.aerogear.crypto.
Algorithm
newBuffer(int)
- Static method in class org.jboss.aerogear.crypto.
Util
Create a new buffer with the specified size
newByteArray(byte[])
- Static method in class org.jboss.aerogear.crypto.
Util
Copy the provided data
O
org.jboss.aerogear
- package org.jboss.aerogear
org.jboss.aerogear.crypto
- package org.jboss.aerogear.crypto
org.jboss.aerogear.crypto.encoders
- package org.jboss.aerogear.crypto.encoders
org.jboss.aerogear.crypto.keys
- package org.jboss.aerogear.crypto.keys
org.jboss.aerogear.crypto.password
- package org.jboss.aerogear.crypto.password
P
padding
- Variable in enum org.jboss.aerogear.crypto.
BlockCipher.Mode
Padding
- Enum in
org.jboss.aerogear.crypto
Padding schemes supported
Padding(String)
- Constructor for enum org.jboss.aerogear.crypto.
Padding
padding
- Variable in enum org.jboss.aerogear.crypto.
Padding
pbkdf2()
- Static method in class org.jboss.aerogear.
AeroGearCrypto
Pbkdf2
- Interface in
org.jboss.aerogear.crypto.password
Provides a level of abstraction for PBKDF2
PBKDF2_ALGORITHM
- Static variable in class org.jboss.aerogear.
AeroGearCrypto
PrivateKey
- Class in
org.jboss.aerogear.crypto.keys
Represents the private key used for symmetric encryption
PrivateKey()
- Constructor for class org.jboss.aerogear.crypto.keys.
PrivateKey
Initialize and generate the private key with the default key size
PrivateKey(byte[])
- Constructor for class org.jboss.aerogear.crypto.keys.
PrivateKey
Initializes the private key with the provided bytes
PrivateKey(String)
- Constructor for class org.jboss.aerogear.crypto.keys.
PrivateKey
Initializes the private key with the provided string
PrivateKey(String, Encoder)
- Constructor for class org.jboss.aerogear.crypto.keys.
PrivateKey
Initializes the private key with the provided string and encoder
PROVIDER
- Static variable in class org.jboss.aerogear.
AeroGearCrypto
R
Random
- Class in
org.jboss.aerogear.crypto
Provides a cryptographically strong RNG
Random()
- Constructor for class org.jboss.aerogear.crypto.
Random
Initializes the class with the default algorithm supported
Random(String)
- Constructor for class org.jboss.aerogear.crypto.
Random
Initializes the class with the provided RNG algorithm name
randomBytes()
- Method in class org.jboss.aerogear.crypto.
Random
Generates a number random bytes which defaults to the buffer of 16
randomBytes(int)
- Method in class org.jboss.aerogear.crypto.
Random
Generates a number random bytes specified by the user
RAW
- Static variable in interface org.jboss.aerogear.crypto.encoders.
Encoder
Raw
- Class in
org.jboss.aerogear.crypto.encoders
Converts raw Strings
Raw()
- Constructor for class org.jboss.aerogear.crypto.encoders.
Raw
S
salt
- Variable in class org.jboss.aerogear.crypto.password.
DefaultPbkdf2
secretKey
- Variable in class org.jboss.aerogear.crypto.keys.
PrivateKey
secretKeyFactory
- Variable in class org.jboss.aerogear.crypto.password.
DefaultPbkdf2
secureRandom
- Variable in class org.jboss.aerogear.crypto.
Random
T
TAG_LENGTH
- Static variable in class org.jboss.aerogear.
AeroGearCrypto
toBytes()
- Method in class org.jboss.aerogear.crypto.keys.
PrivateKey
Retrieve the private key
toDigit(char, int)
- Static method in class org.jboss.aerogear.crypto.encoders.
Hex
Converts a hexadecimal character to an integer.
toString()
- Method in enum org.jboss.aerogear.crypto.
Algorithm
Algorithm name
toString()
- Method in enum org.jboss.aerogear.crypto.
BlockCipher.Mode
toString()
- Method in class org.jboss.aerogear.crypto.encoders.
Hex
Returns a string representation of the object, which includes the charset name.
toString()
- Method in class org.jboss.aerogear.crypto.keys.
PrivateKey
Retrieve the hexadecimal representation of the key
toString()
- Method in enum org.jboss.aerogear.crypto.
Padding
U
updateAAD(byte[])
- Method in class org.jboss.aerogear.crypto.
CryptoBox
Util
- Class in
org.jboss.aerogear.crypto
Utility class for platform validation and cryptographic operations
Util()
- Constructor for class org.jboss.aerogear.crypto.
Util
V
validate(String, byte[], byte[])
- Method in class org.jboss.aerogear.crypto.password.
DefaultPbkdf2
validate(String, byte[], byte[])
- Method in interface org.jboss.aerogear.crypto.password.
Pbkdf2
Validate the generated secret key
valueOf(String)
- Static method in enum org.jboss.aerogear.crypto.
Algorithm
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum org.jboss.aerogear.crypto.
BlockCipher.Mode
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum org.jboss.aerogear.crypto.
Padding
Returns the enum constant of this type with the specified name.
values()
- Static method in enum org.jboss.aerogear.crypto.
Algorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum org.jboss.aerogear.crypto.
BlockCipher.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum org.jboss.aerogear.crypto.
Padding
Returns an array containing the constants of this enum type, in the order they are declared.
A
B
C
D
E
F
G
H
I
K
M
N
O
P
R
S
T
U
V
Overview
Package
Class
Use
Tree
Deprecated
Index
aerogear-crypto 0.1.0
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2013
JBoss by Red Hat
. All Rights Reserved.