Enum Class SignatureDestinationType

java.lang.Object
java.lang.Enum<SignatureDestinationType>
se.idsec.signservice.integration.document.SignatureDestinationType
All Implemented Interfaces:
Serializable, Comparable<SignatureDestinationType>, Constable

public enum SignatureDestinationType extends Enum<SignatureDestinationType>
An enum that is used when stating how an XML signed document should be compiled.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Enum Constant Details

    • XML_PARENT_XPATH

      public static final SignatureDestinationType XML_PARENT_XPATH
      XPath expression for the parent node under which the signature should be inserted.
    • XML_NODE_LOCATION

      public static final SignatureDestinationType XML_NODE_LOCATION
      The value "first" or "last" to specify the signature node location within the parent node.
    • XML_SCHEMA

      public static final SignatureDestinationType XML_SCHEMA
      A Base64 encoded XML Schema for the signed XML document
    • XML_SCHEMA_NS

      public static final SignatureDestinationType XML_SCHEMA_NS
      An XML Schema name space URI for the signed XML document
  • Method Details

    • values

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

      public static SignatureDestinationType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null