com.didisoft.pgp
Enum CypherAlgorithm.Enum

java.lang.Object
  extended by java.lang.Enum<CypherAlgorithm.Enum>
      extended by com.didisoft.pgp.CypherAlgorithm.Enum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CypherAlgorithm.Enum>
Enclosing interface:
CypherAlgorithm

public static enum CypherAlgorithm.Enum
extends java.lang.Enum<CypherAlgorithm.Enum>


Enum Constant Summary
AES_128
           
AES_192
           
AES_256
           
BLOWFISH
           
CAST5
           
DES
           
IDEA
           
SAFER
           
TRIPLE_DES
           
TWOFISH
           
 
Method Summary
 CypherAlgorithm.Enum fromString(java.lang.String cypher)
           
static CypherAlgorithm.Enum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CypherAlgorithm.Enum[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TRIPLE_DES

public static final CypherAlgorithm.Enum TRIPLE_DES

CAST5

public static final CypherAlgorithm.Enum CAST5

BLOWFISH

public static final CypherAlgorithm.Enum BLOWFISH

AES_128

public static final CypherAlgorithm.Enum AES_128

AES_192

public static final CypherAlgorithm.Enum AES_192

AES_256

public static final CypherAlgorithm.Enum AES_256

TWOFISH

public static final CypherAlgorithm.Enum TWOFISH

DES

public static final CypherAlgorithm.Enum DES

SAFER

public static final CypherAlgorithm.Enum SAFER

IDEA

public static final CypherAlgorithm.Enum IDEA
Method Detail

values

public static CypherAlgorithm.Enum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CypherAlgorithm.Enum c : CypherAlgorithm.Enum.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CypherAlgorithm.Enum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

fromString

public CypherAlgorithm.Enum fromString(java.lang.String cypher)


Copyright © 2006-2017 DidiSoft Ltd. All Rights Reserved.