Enum SigDMechanism

    • Enum Constant Detail

      • HTTP_HEADERS

        public static final SigDMechanism HTTP_HEADERS
        5.2.8.2 Mechanism HttpHeaders
      • OBJECT_ID_BY_URI

        public static final SigDMechanism OBJECT_ID_BY_URI
        5.2.8.3.2 Mechanism ObjectIdByURI
      • OBJECT_ID_BY_URI_HASH

        public static final SigDMechanism OBJECT_ID_BY_URI_HASH
        5.2.8.3.3 Mechanism ObjectIdByURIHash NOTE: the default signature creation mechanism used by DSS
      • NO_SIG_D

        public static final SigDMechanism NO_SIG_D
        Creates a simple DETACHED signature with omitted payload (without SigD element)
    • Method Detail

      • values

        public static SigDMechanism[] 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 (SigDMechanism c : SigDMechanism.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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