Interface SignaturePolicyIdentifier

    • Method Detail

      • isImplied

        boolean isImplied()
      • setImplied

        void setImplied​(boolean implied)
      • getIdentifier

        java.lang.String getIdentifier()
      • setIdentifier

        void setIdentifier​(java.lang.String identifier,
                           java.lang.String hashBase64,
                           java.lang.String hashAlgorithm)
                    throws java.io.IOException,
                           java.security.NoSuchAlgorithmException
        Sets the SigPolicyId element values.
        Parameters:
        identifier - Policy identifier, usually an URL pointing the computer processable XML policy definition file
        hashBase64 - Hash of the policy (Base64 encoded) pointed by the identifier parameter. May be null, but only if the identifier is an URL universally accessible
        hashAlgorithm - Algorithm used for the calculation of the hash on the hashBase64 parameter. Ignored when hashBase64 is null, but mandatory when it's not
        Throws:
        java.io.IOException
        java.security.NoSuchAlgorithmException
      • setIdentifier

        void setIdentifier​(java.lang.String identifier)
                    throws java.io.IOException,
                           java.security.NoSuchAlgorithmException
        Throws:
        java.io.IOException
        java.security.NoSuchAlgorithmException
      • getHashBase64

        java.lang.String getHashBase64()
      • getHashAlgorithm

        java.lang.String getHashAlgorithm()
      • getDescription

        java.lang.String getDescription()
      • setDescription

        void setDescription​(java.lang.String description)
      • getQualifier

        java.lang.String getQualifier()
      • setQualifier

        void setQualifier​(java.lang.String qualifier)
        Sets the policy qualifier, wich must be an URL pointing to the human-readable document (usually a PDF) describing the policy.
        Parameters:
        qualifier - URL to the policy human-readable description document