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.XmlType; /** * Antwort auf eine Zertifikatsprüfung nach dem IETF OCSP Standard * (IETF RFC 2560-X.509 Internet Public Key Infrastructure Online Certificate Status Protocol- * OCSP, 1999) in ASN.1 Notation, DER und Base64 kodiert. * * Die Überprüfung der Signatur und die Zertifikatsprüfung wird vom Registerverfahren durchgeführt * und die OCSP-Antwort in das Dokument eingefügt. * *
Java class for TOCSPResponseData complex type. * *
The following schema fragment specifies the expected content contained within this class. * *
* <complexType name="TOCSPResponseData"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="OcspResponseData" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> * </sequence> * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" default="v1" /> * </restriction> * </complexContent> * </complexType> ** * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TOCSPResponseData", propOrder = { "ocspResponseData" }) public class TOCSPResponseData { @XmlElement(name = "OcspResponseData", required = true) protected byte[] ocspResponseData; @XmlAttribute(name = "version") protected String version; /** * Gets the value of the ocspResponseData property. * * @return * possible object is * byte[] */ public byte[] getOcspResponseData() { return ocspResponseData; } /** * Sets the value of the ocspResponseData property. * * @param value * allowed object is * byte[] */ public void setOcspResponseData(byte[] value) { this.ocspResponseData = ((byte[]) value); } /** * Gets the value of the version property. * * @return * possible object is * {@link String } * */ public String getVersion() { if (version == null) { return "v1"; } 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; } }