com.didisoft.pgp
Enum EcCurve.Enum
java.lang.Object
java.lang.Enum<EcCurve.Enum>
com.didisoft.pgp.EcCurve.Enum
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EcCurve.Enum>
- Enclosing interface:
- EcCurve
public static enum EcCurve.Enum
- extends java.lang.Enum<EcCurve.Enum>
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NIST_P_256
public static final EcCurve.Enum NIST_P_256
NIST_P_384
public static final EcCurve.Enum NIST_P_384
NIST_P_521
public static final EcCurve.Enum NIST_P_521
values
public static EcCurve.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 (EcCurve.Enum c : EcCurve.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 EcCurve.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 EcCurve.Enum fromString(java.lang.String ecCurve)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<EcCurve.Enum>
Copyright © 2006-2017 DidiSoft Ltd. All Rights Reserved.