org.digidoc4j.ddoc.SignaturePolicyIdentifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ddoc4j Show documentation
Show all versions of ddoc4j Show documentation
DDoc4J is Java Library for validating DDOC documents. It's not recommended to use it directly but rather through DigiDoc4J's API.
The newest version!
package org.digidoc4j.ddoc;
import java.io.Serializable;
/**
* Models an XML-DSIG/ETSI SignaturePolicyIdentifier structure.
* @author Veiko Sinivee
* @version 1.0
*/
public class SignaturePolicyIdentifier implements Serializable
{
private static final long serialVersionUID = 1L;
/** SignaturePolicyId - id null then SignaturePolicyImplied */
private SignaturePolicyId m_sigPolicyId;
/**
* Constructor for SignaturePolicyIdentifier
* @param sigPolicyId SignaturePolicyId object.
* If null then SignaturePolicyImplied
*/
public SignaturePolicyIdentifier(SignaturePolicyId sigPolicyId)
{
m_sigPolicyId = sigPolicyId;
}
/**
* Accessor for SignaturePolicyId element
* @return value of SignaturePolicyId element
*/
public SignaturePolicyId getSignaturePolicyId()
{
return m_sigPolicyId;
}
/**
* Mutator for Description content
* @param str new value for Description content
*/
public void setSignaturePolicyId(SignaturePolicyId spi)
{
m_sigPolicyId = spi;
}
}