aerogear-crypto 0.1.2

org.jboss.aerogear
Class AeroGearCrypto

java.lang.Object
  extended by org.jboss.aerogear.AeroGearCrypto

public class AeroGearCrypto
extends Object

Provides constants and static factories to be used inside the project


Nested Class Summary
static class AeroGearCrypto.Algorithm
          Representation of the algorithms supported
static class AeroGearCrypto.Mode
          Block modes supported
static class AeroGearCrypto.Padding
          Padding schemes supported
 
Field Summary
static String DEFAULT_CURVE_NAME
           
static String DEFAULT_ECDSA_SHA
           
static String DEFAULT_SHA_ALGORITHM
           
static int DERIVED_KEY_LENGTH
           
static String ECDH_ALGORITHM_NAME
           
static String ECDSA_ALGORITHM_NAME
           
static String HMAC_ALGORITHM
           
static int ITERATIONS
           
static int MINIMUM_ITERATION
           
static int MINIMUM_SALT_LENGTH
           
static int MINIMUM_SECRET_KEY_SIZE
           
static String PBKDF2_ALGORITHM
           
static String PROVIDER
           
static int TAG_LENGTH
           
 
Constructor Summary
private AeroGearCrypto()
           
 
Method Summary
static Pbkdf2 pbkdf2()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROVIDER

public static final String PROVIDER

PBKDF2_ALGORITHM

public static final String PBKDF2_ALGORITHM
See Also:
Constant Field Values

DERIVED_KEY_LENGTH

public static final int DERIVED_KEY_LENGTH
See Also:
Constant Field Values

ITERATIONS

public static final int ITERATIONS
See Also:
Constant Field Values

MINIMUM_SALT_LENGTH

public static final int MINIMUM_SALT_LENGTH
See Also:
Constant Field Values

MINIMUM_ITERATION

public static final int MINIMUM_ITERATION
See Also:
Constant Field Values

MINIMUM_SECRET_KEY_SIZE

public static final int MINIMUM_SECRET_KEY_SIZE
See Also:
Constant Field Values

TAG_LENGTH

public static final int TAG_LENGTH
See Also:
Constant Field Values

HMAC_ALGORITHM

public static final String HMAC_ALGORITHM
See Also:
Constant Field Values

ECDH_ALGORITHM_NAME

public static final String ECDH_ALGORITHM_NAME
See Also:
Constant Field Values

ECDSA_ALGORITHM_NAME

public static final String ECDSA_ALGORITHM_NAME
See Also:
Constant Field Values

DEFAULT_CURVE_NAME

public static final String DEFAULT_CURVE_NAME
See Also:
Constant Field Values

DEFAULT_ECDSA_SHA

public static final String DEFAULT_ECDSA_SHA
See Also:
Constant Field Values

DEFAULT_SHA_ALGORITHM

public static final String DEFAULT_SHA_ALGORITHM
See Also:
Constant Field Values
Constructor Detail

AeroGearCrypto

private AeroGearCrypto()
Method Detail

pbkdf2

public static Pbkdf2 pbkdf2()

aerogear-crypto 0.1.2

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