package de.fh_giessen.epr.container.v1; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * Signatur nach dem PKCS#7-Standard. * *

Java class for TPK7Signature complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="TPK7Signature">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Reference" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
 *         <element name="SignatureValue" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
 *       </sequence>
 *       <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" default="v1.5" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TPK7Signature", propOrder = { "reference", "signatureValue" }) public class TPK7Signature { @XmlElement(name = "Reference", required = true) @XmlSchemaType(name = "anyURI") protected String reference; @XmlElement(name = "SignatureValue", required = true) protected byte[] signatureValue; @XmlAttribute(name = "version") protected String version; /** * Gets the value of the reference property. * * @return * possible object is * {@link String } * */ public String getReference() { return reference; } /** * Sets the value of the reference property. * * @param value * allowed object is * {@link String } * */ public void setReference(String value) { this.reference = value; } /** * Gets the value of the signatureValue property. * * @return * possible object is * byte[] */ public byte[] getSignatureValue() { return signatureValue; } /** * Sets the value of the signatureValue property. * * @param value * allowed object is * byte[] */ public void setSignatureValue(byte[] value) { this.signatureValue = ((byte[]) value); } /** * Gets the value of the version property. * * @return * possible object is * {@link String } * */ public String getVersion() { if (version == null) { return "v1.5"; } else { return version; } } /** * Sets the value of the version property. * * @param value * allowed object is * {@link String } * */ public void setVersion(String value) { this.version = value; } }