Class XAdESSignaturePolicy

java.lang.Object
eu.europa.esig.dss.xades.validation.XAdESSignaturePolicy
All Implemented Interfaces:
Serializable

public class XAdESSignaturePolicy extends Object
Represents a signature policy extracted from a XAdES (XML) signature
See Also:
  • Constructor Details

    • XAdESSignaturePolicy

      public XAdESSignaturePolicy()
      The default constructor for XAdESSignaturePolicy. It represents the implied policy.
    • XAdESSignaturePolicy

      public XAdESSignaturePolicy(String identifier)
      The default constructor for XAdESSignaturePolicy.
      Parameters:
      identifier - the policy identifier
  • Method Details

    • getTransforms

      public Element getTransforms()
      Returns a 'ds:Transforms' element if found NOTE: XAdES only
      Returns:
      'ds:Transforms' Element if found, NULL otherwise
    • setTransforms

      public void setTransforms(Element transforms)
      Sets a 'ds:Transforms' node
      Parameters:
      transforms - Element
    • getTransformsDescription

      public List<String> getTransformsDescription()
      Gets a list of Strings describing the 'ds:Transforms' element NOTE: XAdES only
      Returns:
      a description of 'ds:Transforms' if present, null otherwise
    • getIdentifier

      public String getIdentifier()
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String arg0)
    • getPolicyContent

      public eu.europa.esig.dss.model.DSSDocument getPolicyContent()
    • setPolicyContent

      public void setPolicyContent(eu.europa.esig.dss.model.DSSDocument arg0)
    • getDigest

      public eu.europa.esig.dss.model.Digest getDigest()
    • setDigest

      public void setDigest(eu.europa.esig.dss.model.Digest arg0)
    • getDocumentationReferences

      public List<String> getDocumentationReferences()
    • setDocumentationReferences

      public void setDocumentationReferences(List<String> arg0)
    • isZeroHash

      public boolean isZeroHash()
    • setZeroHash

      public void setZeroHash(boolean arg0)
    • isHashAsInTechnicalSpecification

      public boolean isHashAsInTechnicalSpecification()
    • setHashAsInTechnicalSpecification

      public void setHashAsInTechnicalSpecification(boolean arg0)
    • getUri

      public String getUri()
    • setUri

      public void setUri(String arg0)
    • getUserNotice

      public eu.europa.esig.dss.model.UserNotice getUserNotice()
    • setUserNotice

      public void setUserNotice(eu.europa.esig.dss.model.UserNotice arg0)
    • getDocSpecification

      public eu.europa.esig.dss.model.SpDocSpecification getDocSpecification()
    • setDocSpecification

      public void setDocSpecification(eu.europa.esig.dss.model.SpDocSpecification arg0)
    • getValidationResult

      public eu.europa.esig.dss.model.signature.SignaturePolicyValidationResult getValidationResult()
    • setValidationResult

      public void setValidationResult(eu.europa.esig.dss.model.signature.SignaturePolicyValidationResult arg0)