All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.digidoc4j.ddoc.SignaturePolicyIdentifier Maven / Gradle / Ivy

Go to download

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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy