Interface ISignPolicyConstants


  • public interface ISignPolicyConstants

    Interface that defines all the constants related to the validation and generation of signatures with signature policies.

    Project:

    Library for the integration with the services of @Firma, eVisor and TS@.

    Version:
    1.0, 25/11/2014.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ENTRY_PREFIX
      Constant attribute that identifies the prefix for an entry of a PDF signature dictionary.
      static java.lang.String KEY_ALLOWED_HASH_ALGORITHM
      Constant attribute that identifies the fixed part of the key defined on properties file with the list of allowed hash algorithms.
      static java.lang.String KEY_ALLOWED_SIGN_ALGORITHM
      Constant attribute that identifies the fixed part of the key defined on properties file with the list of allowed sign algorithms.
      static java.lang.String KEY_ALLOWED_SIGNING_MODES
      Constant attribute that identifies the fixed part of the key defined on properties file with the list of allowed signing modes defined by the signature policy.
      static java.lang.String KEY_ASN1_POLICY_ID
      Constant attribute that identifies the key defined on properties file with the identifier of the signature policy to use for CAdES signatures.
      static java.lang.String KEY_DESCRIPTION
      Constant attribute that identifies the fixed part of the key defined on properties file with the description of the signature policy.
      static java.lang.String KEY_HASH_ALGORITHM
      Constant attribute that identifies the fixed part of the key defined on properties file with the hash algorithm used for generating the digest of the document of the signature policy.
      static java.lang.String KEY_HASH_VALUE
      Constant attribute that identifies the fixed part of the key defined on properties file with the path of the document with the hash value of the signature policy.
      static java.lang.String KEY_IDENTIFIER_ASN1
      Constant attribute that identifies the fixed part of the key defined on properties file with the ID of the signature policy for ASN.1 signatures.
      static java.lang.String KEY_IDENTIFIER_PDF
      Constant attribute that identifies the fixed part of the key defined on properties file with the ID of the signature policy for PDF signatures.
      static java.lang.String KEY_IDENTIFIER_XML
      Constant attribute that identifies the fixed part of the key defined on properties file with the ID of the signature policy for XML signatures.
      static java.lang.String KEY_MANDATORY_SIGNED_ELEMENTS
      Constant attribute that identifies the fixed part of the key defined on properties file with the list of required signed elements defined by the signature policy.
      static java.lang.String KEY_MANDATORY_UNSIGNED_ELEMENTS
      Constant attribute that identifies the fixed part of the key defined on properties file with the list of required unsigned elements defined by the signature policy.
      static java.lang.String KEY_NOT_ALLOWED_CHILD
      Constant attribute that identifies the fixed part of the key defined on properties file with the list of elements that cannot be child of a parent element, defined by the signature policy.
      static java.lang.String KEY_NOT_ALLOWED_ENTRIES
      Constant attribute that identifies the fixed part of the key defined on properties file with the list of not allowed entries, defined by the signature policy.
      static java.lang.String KEY_NOT_ALLOWED_SIGNED_ELEMENT
      Constant attribute that identifies the fixed part of the key defined on properties file with the list of signed elements that shall not be used, defined by the signature policy.
      static java.lang.String KEY_NOT_ALLOWED_UNSIGNED_ELEMENTS
      Constant attribute that identifies the fixed part of the key defined on properties file with the list of unsigned elements that shall not be used, defined by the signature policy.
      static java.lang.String KEY_NOT_ALLOWED_VALUE
      Constant attribute that identifies the fixed part of the key defined on properties file with the list of not allowed values for an element, defined by the signature policy.
      static java.lang.String KEY_OPTIONAL_CHILD
      Constant attribute that identifies the fixed part of the key defined on properties file with the list of optional child elements that shall have a parent element, defined by the signature policy.
      static java.lang.String KEY_OPTIONAL_ENTRIES
      Constant attribute that identifies the fixed part of the key defined on properties file with the list of optional entries, defined by the signature policy.
      static java.lang.String KEY_OPTIONAL_SIGNED_ELEMENTS
      Constant attribute that identifies the fixed part of the key defined on properties file with the list of optional signed elements defined by the signature policy.
      static java.lang.String KEY_OPTIONAL_UNSIGNED_ELEMENTS
      Constant attribute that identifies the fixed part of the key defined on properties file with the list of optional unsigned elements defined by the signature policy.
      static java.lang.String KEY_PDF_POLICY_ID
      Constant attribute that identifies the key defined on properties file with the identifier of the signature policy to use for PAdES signatures.
      static java.lang.String KEY_REQUIRED_CHILD
      Constant attribute that identifies the fixed part of the key defined on properties file with the list of required child elements that shall have a parent element, defined by the signature policy.
      static java.lang.String KEY_REQUIRED_ENTRIES
      Constant attribute that identifies the fixed part of the key defined on properties file with the list of required entries, defined by the signature policy.
      static java.lang.String KEY_REQUIRED_VALUE
      Constant attribute that identifies the fixed part of the key defined on properties file with the list of required values for an element, defined by the signature policy.
      static java.lang.String KEY_XML_HASH
      Constant attribute that identifies the fixed part of the key defined on properties file with the allowed hash algorithms for XML signatures.
      static java.lang.String KEY_XML_POLICY_ID
      Constant attribute that identifies the key defined on properties file with the identifier of the signature policy to use for XAdES signatures.
      static java.lang.String KEY_XML_SIGN_HASH
      Constant attribute that identifies the fixed part of the key defined on properties file with the allowed sign algorithms for XML signatures.
      static java.lang.String OPERATOR_AND
      Constant attribute that identifies the AND operator for the values defined on properties file.
      static java.lang.String OPERATOR_OR
      Constant attribute that identifies the OR operator for the values defined on properties file.
    • Field Detail

      • KEY_XML_POLICY_ID

        static final java.lang.String KEY_XML_POLICY_ID
        Constant attribute that identifies the key defined on properties file with the identifier of the signature policy to use for XAdES signatures.
        See Also:
        Constant Field Values
      • KEY_ASN1_POLICY_ID

        static final java.lang.String KEY_ASN1_POLICY_ID
        Constant attribute that identifies the key defined on properties file with the identifier of the signature policy to use for CAdES signatures.
        See Also:
        Constant Field Values
      • KEY_PDF_POLICY_ID

        static final java.lang.String KEY_PDF_POLICY_ID
        Constant attribute that identifies the key defined on properties file with the identifier of the signature policy to use for PAdES signatures.
        See Also:
        Constant Field Values
      • KEY_IDENTIFIER_ASN1

        static final java.lang.String KEY_IDENTIFIER_ASN1
        Constant attribute that identifies the fixed part of the key defined on properties file with the ID of the signature policy for ASN.1 signatures.
        See Also:
        Constant Field Values
      • KEY_IDENTIFIER_XML

        static final java.lang.String KEY_IDENTIFIER_XML
        Constant attribute that identifies the fixed part of the key defined on properties file with the ID of the signature policy for XML signatures.
        See Also:
        Constant Field Values
      • KEY_IDENTIFIER_PDF

        static final java.lang.String KEY_IDENTIFIER_PDF
        Constant attribute that identifies the fixed part of the key defined on properties file with the ID of the signature policy for PDF signatures.
        See Also:
        Constant Field Values
      • KEY_HASH_VALUE

        static final java.lang.String KEY_HASH_VALUE
        Constant attribute that identifies the fixed part of the key defined on properties file with the path of the document with the hash value of the signature policy.
        See Also:
        Constant Field Values
      • KEY_DESCRIPTION

        static final java.lang.String KEY_DESCRIPTION
        Constant attribute that identifies the fixed part of the key defined on properties file with the description of the signature policy.
        See Also:
        Constant Field Values
      • KEY_HASH_ALGORITHM

        static final java.lang.String KEY_HASH_ALGORITHM
        Constant attribute that identifies the fixed part of the key defined on properties file with the hash algorithm used for generating the digest of the document of the signature policy.
        See Also:
        Constant Field Values
      • KEY_XML_HASH

        static final java.lang.String KEY_XML_HASH
        Constant attribute that identifies the fixed part of the key defined on properties file with the allowed hash algorithms for XML signatures.
        See Also:
        Constant Field Values
      • KEY_XML_SIGN_HASH

        static final java.lang.String KEY_XML_SIGN_HASH
        Constant attribute that identifies the fixed part of the key defined on properties file with the allowed sign algorithms for XML signatures.
        See Also:
        Constant Field Values
      • KEY_ALLOWED_HASH_ALGORITHM

        static final java.lang.String KEY_ALLOWED_HASH_ALGORITHM
        Constant attribute that identifies the fixed part of the key defined on properties file with the list of allowed hash algorithms.
        See Also:
        Constant Field Values
      • KEY_ALLOWED_SIGN_ALGORITHM

        static final java.lang.String KEY_ALLOWED_SIGN_ALGORITHM
        Constant attribute that identifies the fixed part of the key defined on properties file with the list of allowed sign algorithms.
        See Also:
        Constant Field Values
      • KEY_MANDATORY_SIGNED_ELEMENTS

        static final java.lang.String KEY_MANDATORY_SIGNED_ELEMENTS
        Constant attribute that identifies the fixed part of the key defined on properties file with the list of required signed elements defined by the signature policy.
        See Also:
        Constant Field Values
      • KEY_OPTIONAL_SIGNED_ELEMENTS

        static final java.lang.String KEY_OPTIONAL_SIGNED_ELEMENTS
        Constant attribute that identifies the fixed part of the key defined on properties file with the list of optional signed elements defined by the signature policy.
        See Also:
        Constant Field Values
      • KEY_MANDATORY_UNSIGNED_ELEMENTS

        static final java.lang.String KEY_MANDATORY_UNSIGNED_ELEMENTS
        Constant attribute that identifies the fixed part of the key defined on properties file with the list of required unsigned elements defined by the signature policy.
        See Also:
        Constant Field Values
      • KEY_OPTIONAL_UNSIGNED_ELEMENTS

        static final java.lang.String KEY_OPTIONAL_UNSIGNED_ELEMENTS
        Constant attribute that identifies the fixed part of the key defined on properties file with the list of optional unsigned elements defined by the signature policy.
        See Also:
        Constant Field Values
      • KEY_NOT_ALLOWED_SIGNED_ELEMENT

        static final java.lang.String KEY_NOT_ALLOWED_SIGNED_ELEMENT
        Constant attribute that identifies the fixed part of the key defined on properties file with the list of signed elements that shall not be used, defined by the signature policy.
        See Also:
        Constant Field Values
      • KEY_NOT_ALLOWED_UNSIGNED_ELEMENTS

        static final java.lang.String KEY_NOT_ALLOWED_UNSIGNED_ELEMENTS
        Constant attribute that identifies the fixed part of the key defined on properties file with the list of unsigned elements that shall not be used, defined by the signature policy.
        See Also:
        Constant Field Values
      • KEY_REQUIRED_CHILD

        static final java.lang.String KEY_REQUIRED_CHILD
        Constant attribute that identifies the fixed part of the key defined on properties file with the list of required child elements that shall have a parent element, defined by the signature policy.
        See Also:
        Constant Field Values
      • KEY_OPTIONAL_CHILD

        static final java.lang.String KEY_OPTIONAL_CHILD
        Constant attribute that identifies the fixed part of the key defined on properties file with the list of optional child elements that shall have a parent element, defined by the signature policy.
        See Also:
        Constant Field Values
      • KEY_NOT_ALLOWED_CHILD

        static final java.lang.String KEY_NOT_ALLOWED_CHILD
        Constant attribute that identifies the fixed part of the key defined on properties file with the list of elements that cannot be child of a parent element, defined by the signature policy.
        See Also:
        Constant Field Values
      • KEY_REQUIRED_VALUE

        static final java.lang.String KEY_REQUIRED_VALUE
        Constant attribute that identifies the fixed part of the key defined on properties file with the list of required values for an element, defined by the signature policy.
        See Also:
        Constant Field Values
      • KEY_REQUIRED_ENTRIES

        static final java.lang.String KEY_REQUIRED_ENTRIES
        Constant attribute that identifies the fixed part of the key defined on properties file with the list of required entries, defined by the signature policy.
        See Also:
        Constant Field Values
      • KEY_OPTIONAL_ENTRIES

        static final java.lang.String KEY_OPTIONAL_ENTRIES
        Constant attribute that identifies the fixed part of the key defined on properties file with the list of optional entries, defined by the signature policy.
        See Also:
        Constant Field Values
      • KEY_NOT_ALLOWED_ENTRIES

        static final java.lang.String KEY_NOT_ALLOWED_ENTRIES
        Constant attribute that identifies the fixed part of the key defined on properties file with the list of not allowed entries, defined by the signature policy.
        See Also:
        Constant Field Values
      • KEY_NOT_ALLOWED_VALUE

        static final java.lang.String KEY_NOT_ALLOWED_VALUE
        Constant attribute that identifies the fixed part of the key defined on properties file with the list of not allowed values for an element, defined by the signature policy.
        See Also:
        Constant Field Values
      • KEY_ALLOWED_SIGNING_MODES

        static final java.lang.String KEY_ALLOWED_SIGNING_MODES
        Constant attribute that identifies the fixed part of the key defined on properties file with the list of allowed signing modes defined by the signature policy.
        See Also:
        Constant Field Values
      • OPERATOR_AND

        static final java.lang.String OPERATOR_AND
        Constant attribute that identifies the AND operator for the values defined on properties file.
        See Also:
        Constant Field Values
      • OPERATOR_OR

        static final java.lang.String OPERATOR_OR
        Constant attribute that identifies the OR operator for the values defined on properties file.
        See Also:
        Constant Field Values
      • ENTRY_PREFIX

        static final java.lang.String ENTRY_PREFIX
        Constant attribute that identifies the prefix for an entry of a PDF signature dictionary.
        See Also:
        Constant Field Values