aerogear-crypto 0.1.6
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
 
AeroGearCrypto.Algorithm - Enum in org.jboss.aerogear
Representation of the algorithms supported
AeroGearCrypto.Algorithm(String, int) - Constructor for enum org.jboss.aerogear.AeroGearCrypto.Algorithm
 
AeroGearCrypto.Mode - Enum in org.jboss.aerogear
Block modes supported
AeroGearCrypto.Mode(String, AeroGearCrypto.Padding) - Constructor for enum org.jboss.aerogear.AeroGearCrypto.Mode
 
AeroGearCrypto.Padding - Enum in org.jboss.aerogear
Padding schemes supported
AeroGearCrypto.Padding(String) - Constructor for enum org.jboss.aerogear.AeroGearCrypto.Padding
 
ALGORITHM - Static variable in class org.jboss.aerogear.crypto.RandomUtils
 
ALGORITHM - Static variable in class org.jboss.aerogear.crypto.util.PKCS12
 
ANDROID_ACTIVITY_CLASS - Static variable in class org.jboss.aerogear.crypto.Util
 
authData - Variable in class org.jboss.aerogear.crypto.CryptoBox
 

B

Base64 - Class in org.jboss.aerogear.crypto.encoders
 
Base64() - Constructor for class org.jboss.aerogear.crypto.encoders.Base64
 
BASE64 - Static variable in interface org.jboss.aerogear.crypto.encoders.Encoder
 
BlockCipher - Class in org.jboss.aerogear.crypto
Representation of the cipher modes supported
BlockCipher() - Constructor for class org.jboss.aerogear.crypto.BlockCipher
 

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() - Constructor for class org.jboss.aerogear.crypto.CryptoBox
 
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(PublicKey) - Constructor for class org.jboss.aerogear.crypto.CryptoBox
Initializes the box providing the public 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
CryptoBox(KeyPair) - Constructor for class org.jboss.aerogear.crypto.CryptoBox
Initializes the box providing KeyPair as parameter

D

decode(String) - Method in class org.jboss.aerogear.crypto.encoders.Base64
 
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
decode(String) - Method in class org.jboss.aerogear.crypto.encoders.UrlBase64
 
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
DEFAULT_ALGORITHM - Static variable in class org.jboss.aerogear.crypto.Hash
 
DEFAULT_CURVE_NAME - Static variable in class org.jboss.aerogear.AeroGearCrypto
 
DEFAULT_ECDSA_SHA - Static variable in class org.jboss.aerogear.AeroGearCrypto
 
DEFAULT_SHA_ALGORITHM - Static variable in class org.jboss.aerogear.AeroGearCrypto
 
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
 
digest(byte[], Encoder) - Method in class org.jboss.aerogear.crypto.Hash
 
digest(String, Encoder) - Method in class org.jboss.aerogear.crypto.Hash
 
digest(byte[]) - Method in class org.jboss.aerogear.crypto.Hash
 
digest(Encoder, byte[]) - Method in class org.jboss.aerogear.crypto.Hmac
 
digest(byte[]) - Method in class org.jboss.aerogear.crypto.Hmac
 
digest() - Method in class org.jboss.aerogear.crypto.Hmac
 
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

ECDH_ALGORITHM_NAME - Static variable in class org.jboss.aerogear.AeroGearCrypto
 
ECDSA_ALGORITHM_NAME - Static variable in class org.jboss.aerogear.AeroGearCrypto
 
ecdsaSign - Variable in class org.jboss.aerogear.crypto.signature.SigningKey
 
ecdsaSign - Variable in class org.jboss.aerogear.crypto.signature.VerifyKey
 
encode(byte[]) - Method in class org.jboss.aerogear.crypto.encoders.Base64
 
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
encode(byte[]) - Method in class org.jboss.aerogear.crypto.encoders.UrlBase64
 
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(AeroGearCrypto.Algorithm, AeroGearCrypto.Mode) - Static method in class org.jboss.aerogear.crypto.Util
Utility method to format algorithms name in Java like way
formatter(AeroGearCrypto.Mode, AeroGearCrypto.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
 
generateSecretKey(String, byte[], int) - Method in class org.jboss.aerogear.crypto.password.DefaultPbkdf2
 
generateSecretKey(String) - Method in class org.jboss.aerogear.crypto.password.DefaultPbkdf2
 
generateSecretKey(String, byte[], int) - Method in interface org.jboss.aerogear.crypto.password.Pbkdf2
 
generateSecretKey(String) - Method in interface org.jboss.aerogear.crypto.password.Pbkdf2
 
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.AeroGearCrypto.Algorithm
Key size
getNewCipher(AeroGearCrypto.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
getPublicKey() - Method in class org.jboss.aerogear.crypto.signature.SigningKey
 
getSalt() - Method in class org.jboss.aerogear.crypto.password.DefaultPbkdf2
 
getSecureRandom() - Method in class org.jboss.aerogear.crypto.RandomUtils
Retrieve the reference to the SecureRandom object

H

Hash - Class in org.jboss.aerogear.crypto
 
Hash(String) - Constructor for class org.jboss.aerogear.crypto.Hash
 
Hash() - Constructor for class org.jboss.aerogear.crypto.Hash
 
hashDigest - Variable in class org.jboss.aerogear.crypto.Hash
 
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
 
Hmac - Class in org.jboss.aerogear.crypto
 
Hmac(String, SecretKey) - Constructor for class org.jboss.aerogear.crypto.Hmac
 
Hmac(String, String) - Constructor for class org.jboss.aerogear.crypto.Hmac
 
Hmac(String) - Constructor for class org.jboss.aerogear.crypto.Hmac
 
Hmac(SecretKey) - Constructor for class org.jboss.aerogear.crypto.Hmac
 
hmac - Variable in class org.jboss.aerogear.crypto.Hmac
 
HMAC_ALGORITHM - Static variable in class org.jboss.aerogear.AeroGearCrypto
 

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
 

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(String, String) - Constructor for class org.jboss.aerogear.crypto.keys.KeyPair
 
KeyPair(byte[], byte[]) - Constructor for class org.jboss.aerogear.crypto.keys.KeyPair
 
KeyPair(String, String, Encoder) - Constructor for class org.jboss.aerogear.crypto.keys.KeyPair
 
KeyPair() - Constructor for class org.jboss.aerogear.crypto.keys.KeyPair
Initialize the key pair with the standard curve name
keySize - Variable in enum org.jboss.aerogear.AeroGearCrypto.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.AeroGearCrypto.Mode
 

N

name - Variable in enum org.jboss.aerogear.AeroGearCrypto.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
 
org.jboss.aerogear.crypto.signature - package org.jboss.aerogear.crypto.signature
 
org.jboss.aerogear.crypto.util - package org.jboss.aerogear.crypto.util
 

P

padding - Variable in enum org.jboss.aerogear.AeroGearCrypto.Mode
 
padding - Variable in enum org.jboss.aerogear.AeroGearCrypto.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
 
PKCS12 - Class in org.jboss.aerogear.crypto.util
Small utility for PKCS validation
PKCS12() - Constructor for class org.jboss.aerogear.crypto.util.PKCS12
 
privateKey - Variable in class org.jboss.aerogear.crypto.keys.KeyPair
 
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
 
publicKey - Variable in class org.jboss.aerogear.crypto.keys.KeyPair
 
publicKey - Variable in class org.jboss.aerogear.crypto.signature.SigningKey
 

R

randomBytes() - Static method in class org.jboss.aerogear.crypto.RandomUtils
Generates a number random bytes which defaults to the buffer of 16
randomBytes(int) - Static method in class org.jboss.aerogear.crypto.RandomUtils
Generates a number random bytes specified by the user
randomBytes(int, Encoder) - Static method in class org.jboss.aerogear.crypto.RandomUtils
Generates a number random bytes specified by the user
RandomUtils - Class in org.jboss.aerogear.crypto
Provides a cryptographically strong RNG
RandomUtils() - Constructor for class org.jboss.aerogear.crypto.RandomUtils
 
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 - Static variable in class org.jboss.aerogear.crypto.RandomUtils
 
sign(byte[]) - Method in class org.jboss.aerogear.crypto.signature.SigningKey
 
sign(String, Encoder) - Method in class org.jboss.aerogear.crypto.signature.SigningKey
 
sign(String) - Method in class org.jboss.aerogear.crypto.signature.SigningKey
 
SigningKey - Class in org.jboss.aerogear.crypto.signature
 
SigningKey(KeyPair) - Constructor for class org.jboss.aerogear.crypto.signature.SigningKey
 
SigningKey() - Constructor for class org.jboss.aerogear.crypto.signature.SigningKey
 

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.AeroGearCrypto.Algorithm
Algorithm name
toString() - Method in enum org.jboss.aerogear.AeroGearCrypto.Mode
 
toString() - Method in enum org.jboss.aerogear.AeroGearCrypto.Padding
 
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

U

URL_BASE64 - Static variable in interface org.jboss.aerogear.crypto.encoders.Encoder
 
UrlBase64 - Class in org.jboss.aerogear.crypto.encoders
Url-safe Base64 Encoder
UrlBase64() - Constructor for class org.jboss.aerogear.crypto.encoders.UrlBase64
 
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
validate(byte[], String) - Static method in class org.jboss.aerogear.crypto.util.PKCS12
Check if the file provide is PKCS12
valueOf(String) - Static method in enum org.jboss.aerogear.AeroGearCrypto.Algorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jboss.aerogear.AeroGearCrypto.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jboss.aerogear.AeroGearCrypto.Padding
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jboss.aerogear.AeroGearCrypto.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.AeroGearCrypto.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.AeroGearCrypto.Padding
Returns an array containing the constants of this enum type, in the order they are declared.
verify(byte[], byte[]) - Method in class org.jboss.aerogear.crypto.signature.VerifyKey
 
verify(String, String, Encoder) - Method in class org.jboss.aerogear.crypto.signature.VerifyKey
 
verify(String, String) - Method in class org.jboss.aerogear.crypto.signature.VerifyKey
 
verify(String, byte[]) - Method in class org.jboss.aerogear.crypto.signature.VerifyKey
 
VerifyKey - Class in org.jboss.aerogear.crypto.signature
 
VerifyKey(PublicKey) - Constructor for class org.jboss.aerogear.crypto.signature.VerifyKey
 
A B C D E F G H I K M N O P R S T U V 
aerogear-crypto 0.1.6

Copyright © 2016 JBoss by Red Hat. All Rights Reserved.