com.didisoft.pgp
Enum KeyAlgorithm.Enum

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

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


Enum Constant Summary
EC
           
ELGAMAL
           
RSA
           
 
Method Summary
 KeyAlgorithm.Enum fromString(java.lang.String algorithm)
           
static KeyAlgorithm.Enum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static KeyAlgorithm.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

RSA

public static final KeyAlgorithm.Enum RSA

ELGAMAL

public static final KeyAlgorithm.Enum ELGAMAL

EC

public static final KeyAlgorithm.Enum EC
Method Detail

values

public static KeyAlgorithm.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 (KeyAlgorithm.Enum c : KeyAlgorithm.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 KeyAlgorithm.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 KeyAlgorithm.Enum fromString(java.lang.String algorithm)


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