org.opensaml.xml.security.x509
Enum X509Util.ENCODING_FORMAT

java.lang.Object
  extended by java.lang.Enum<X509Util.ENCODING_FORMAT>
      extended by org.opensaml.xml.security.x509.X509Util.ENCODING_FORMAT
All Implemented Interfaces:
Serializable, Comparable<X509Util.ENCODING_FORMAT>
Enclosing class:
X509Util

public static enum X509Util.ENCODING_FORMAT
extends Enum<X509Util.ENCODING_FORMAT>

Encoding used to store a key or certificate in a file.


Enum Constant Summary
DER
           
PEM
           
 
Method Summary
static X509Util.ENCODING_FORMAT valueOf(String name)
          Returns the enum constant of this type with the specified name.
static X509Util.ENCODING_FORMAT[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PEM

public static final X509Util.ENCODING_FORMAT PEM

DER

public static final X509Util.ENCODING_FORMAT DER
Method Detail

values

public static X509Util.ENCODING_FORMAT[] 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 (X509Util.ENCODING_FORMAT c : X509Util.ENCODING_FORMAT.values())
    System.out.println(c);

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

valueOf

public static X509Util.ENCODING_FORMAT valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 1999-2013. All Rights Reserved.