Class CryptographicSuiteMetadata

java.lang.Object
eu.europa.esig.dss.model.policy.crypto.CryptographicSuiteMetadata
All Implemented Interfaces:
Serializable

public class CryptographicSuiteMetadata extends Object implements Serializable
Contains metadata about the ETSI TS 119 322 cryptographic suite
See Also:
  • Constructor Details

    • CryptographicSuiteMetadata

      public CryptographicSuiteMetadata()
      Default constructor
  • Method Details

    • getPolicyName

      public String getPolicyName()
      Gets the policy name
      Returns:
      String
    • setPolicyName

      public void setPolicyName(String policyName)
      Sets the value of the /dssc:PolicyName/dssc:Name element
      Parameters:
      policyName - String
    • getPolicyOID

      public String getPolicyOID()
      Gets the policy OID
      Returns:
      String
    • setPolicyOID

      public void setPolicyOID(String policyOID)
      Sets the value of the /dssc:PolicyName/dssc:ObjectIdentifier element
      Parameters:
      policyOID - String
    • getPolicyURI

      public String getPolicyURI()
      Gets the policy URI
      Returns:
      String
    • setPolicyURI

      public void setPolicyURI(String policyURI)
      Sets the value of the /dssc:PolicyName/dssc:URI element
      Parameters:
      policyURI - String
    • getPublisherName

      public String getPublisherName()
      Gets the policy publisher's name
      Returns:
      String
    • setPublisherName

      public void setPublisherName(String publisherName)
      Sets the value of the /dssc:Publisher/dssc:Name element
      Parameters:
      publisherName - String
    • getPublisherAddress

      public String getPublisherAddress()
      Gets the policy publisher's address
      Returns:
      String
    • setPublisherAddress

      public void setPublisherAddress(String publisherAddress)
      Sets the value of the /dssc:Publisher/dssc:Address element
      Parameters:
      publisherAddress - String
    • getPublisherURI

      public String getPublisherURI()
      Gets the policy publisher's website URI
      Returns:
      String
    • setPublisherURI

      public void setPublisherURI(String publisherURI)
      Sets the value of the /dssc:Publisher/dssc:URI element
      Parameters:
      publisherURI - String
    • getPolicyIssueDate

      public Date getPolicyIssueDate()
      Gets the policy's issue date
      Returns:
      Date
    • setPolicyIssueDate

      public void setPolicyIssueDate(Date policyIssueDate)
      Sets the value of the /dssc:PolicyIssueDate element
      Parameters:
      policyIssueDate - Date
    • getNextUpdate

      public Date getNextUpdate()
      Gets the policy's nest update date
      Returns:
      Date
    • setNextUpdate

      public void setNextUpdate(Date nextUpdate)
      Sets the value of the /dssc:NextUpdate element
      Parameters:
      nextUpdate - Date
    • getUsage

      public String getUsage()
      Gets the policy usage
      Returns:
      String
    • setUsage

      public void setUsage(String usage)
      Sets the value of the /dssc:Usage element
      Parameters:
      usage - String
    • getVersion

      public String getVersion()
      Gets the policy version
      Returns:
      String
    • setVersion

      public void setVersion(String version)
      Sets the value of the /dssc:version element
      Parameters:
      version - String
    • getLang

      public String getLang()
      Gets the policy language two-character ISO identifier
      Returns:
      String
    • setLang

      public void setLang(String lang)
      Sets the value of the /dssc:lang element
      Parameters:
      lang - String
    • getId

      public String getId()
      Gets the policy identifier
      Returns:
      String
    • setId

      public void setId(String id)
      Sets the value of the /dssc:id element
      Parameters:
      id - String
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object