es.mityc.firmaJava.libreria.xades
Enum EnumFormatoFirma

java.lang.Object
  extended by java.lang.Enum<EnumFormatoFirma>
      extended by es.mityc.firmaJava.libreria.xades.EnumFormatoFirma
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EnumFormatoFirma>

public enum EnumFormatoFirma
extends java.lang.Enum<EnumFormatoFirma>

Tipos de firma XML reconocidas

Version:
1.0
Author:
Ministerio de Industria, Energía y Turismo

Enum Constant Summary
XAdES_BES
           
XAdES_C
           
XAdES_T
           
XAdES_X
           
XAdES_XL
           
XMLSignature
           
 
Method Summary
static EnumFormatoFirma valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EnumFormatoFirma[] 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

XMLSignature

public static final EnumFormatoFirma XMLSignature

XAdES_BES

public static final EnumFormatoFirma XAdES_BES

XAdES_T

public static final EnumFormatoFirma XAdES_T

XAdES_C

public static final EnumFormatoFirma XAdES_C

XAdES_X

public static final EnumFormatoFirma XAdES_X

XAdES_XL

public static final EnumFormatoFirma XAdES_XL
Method Detail

values

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

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

valueOf

public static EnumFormatoFirma 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


Copyright © 2009 Ministerio de Industria, Energía y Turismo. All Rights Reserved.