org.pre4j.crypto
Class AlgorithmParams

java.lang.Object
  extended by org.pre4j.crypto.AlgorithmParams

public class AlgorithmParams
extends java.lang.Object

Author:
gieretmk TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
static AlgorithmParams AES_128
           
static AlgorithmParams AES_256
           
static java.lang.String BLOCK_TYPE
           
static AlgorithmParams DESede
           
static java.lang.String PBE_TYPE
           
static AlgorithmParams PBEWithMD5AndDES
           
static java.lang.String PK_TYPE
           
static AlgorithmParams RSA
           
static AlgorithmParams RSA_OAEP
           
static AlgorithmParams SHA1
           
 
Method Summary
static void addInstance(AlgorithmParams params)
           
 java.lang.String getAlgorithm()
           
 java.lang.String getBlock()
           
static AlgorithmParams getInstance(java.lang.String uri)
           
 java.lang.String getJceName()
           
 int getKeyLength()
           
 java.lang.String getPadding()
           
 java.lang.String getProvider()
           
 java.lang.String getURI()
          Gets the XML Encryption URI.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AES_128

public static final AlgorithmParams AES_128

AES_256

public static final AlgorithmParams AES_256

BLOCK_TYPE

public static java.lang.String BLOCK_TYPE

DESede

public static final AlgorithmParams DESede

PBE_TYPE

public static java.lang.String PBE_TYPE

PBEWithMD5AndDES

public static final AlgorithmParams PBEWithMD5AndDES

PK_TYPE

public static java.lang.String PK_TYPE

RSA

public static final AlgorithmParams RSA

RSA_OAEP

public static final AlgorithmParams RSA_OAEP

SHA1

public static final AlgorithmParams SHA1
Method Detail

addInstance

public static void addInstance(AlgorithmParams params)

getAlgorithm

public java.lang.String getAlgorithm()
Returns:
Returns the algorithm.

getBlock

public java.lang.String getBlock()
Returns:
Returns the block.

getInstance

public static AlgorithmParams getInstance(java.lang.String uri)

getJceName

public java.lang.String getJceName()
Returns:
Returns the jceName.

getKeyLength

public int getKeyLength()
Returns:
Returns the keyLength.

getPadding

public java.lang.String getPadding()
Returns:
Returns the padding.

getProvider

public java.lang.String getProvider()
Returns:
Returns the provider.

getURI

public java.lang.String getURI()
Gets the XML Encryption URI.

Returns:
Returns the XML Encryption URI.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object