Enum ExtendedKeyUsage

java.lang.Object
java.lang.Enum<ExtendedKeyUsage>
eu.europa.esig.dss.enumerations.ExtendedKeyUsage
All Implemented Interfaces:
OidBasedEnum, OidDescription, Serializable, Comparable<ExtendedKeyUsage>

public enum ExtendedKeyUsage
extends Enum<ExtendedKeyUsage>
implements OidDescription
  • Enum Constant Details

  • Method Details

    • values

      public static ExtendedKeyUsage[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ExtendedKeyUsage 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
    • getOid

      public String getOid()
      Description copied from interface: OidBasedEnum
      This method returns the OID value
      Specified by:
      getOid in interface OidBasedEnum
      Returns:
      the OID value
    • getDescription

      public String getDescription()
      Description copied from interface: OidDescription
      This method returns the literal description of the OID
      Specified by:
      getDescription in interface OidDescription
      Returns:
      the OID description