org.certificateservices.messages.signrequest.jaxb.GetPubKeyResponseTask Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2023.02.20 at 10:25:51 AM CET
//
package org.certificateservices.messages.signrequest.jaxb;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.certificateservices.messages.csmessages.jaxb.Attribute;
/**
* Java class for GetPubKeyResponseTask complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="GetPubKeyResponseTask">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="taskId" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/>
* <element name="signType" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/>
* <element name="keyId" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/>
* <element name="attributes" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="attribute" type="{http://certificateservices.org/xsd/csmessages2_0}Attribute" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="certificateChain" type="{http://certificateservices.org/xsd/signrequest2_0}certificateChainType" minOccurs="0"/>
* <element name="publicKey" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GetPubKeyResponseTask", propOrder = {
"taskId",
"signType",
"keyId",
"attributes",
"certificateChain",
"publicKey"
})
public class GetPubKeyResponseTask {
@XmlElement(required = true)
protected String taskId;
@XmlElement(required = true)
protected String signType;
@XmlElement(required = true)
protected String keyId;
protected GetPubKeyResponseTask.Attributes attributes;
protected CertificateChainType certificateChain;
@XmlElement(required = true)
protected byte[] publicKey;
/**
* Gets the value of the taskId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTaskId() {
return taskId;
}
/**
* Sets the value of the taskId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTaskId(String value) {
this.taskId = value;
}
/**
* Gets the value of the signType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSignType() {
return signType;
}
/**
* Sets the value of the signType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSignType(String value) {
this.signType = value;
}
/**
* Gets the value of the keyId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKeyId() {
return keyId;
}
/**
* Sets the value of the keyId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKeyId(String value) {
this.keyId = value;
}
/**
* Gets the value of the attributes property.
*
* @return
* possible object is
* {@link GetPubKeyResponseTask.Attributes }
*
*/
public GetPubKeyResponseTask.Attributes getAttributes() {
return attributes;
}
/**
* Sets the value of the attributes property.
*
* @param value
* allowed object is
* {@link GetPubKeyResponseTask.Attributes }
*
*/
public void setAttributes(GetPubKeyResponseTask.Attributes value) {
this.attributes = value;
}
/**
* Gets the value of the certificateChain property.
*
* @return
* possible object is
* {@link CertificateChainType }
*
*/
public CertificateChainType getCertificateChain() {
return certificateChain;
}
/**
* Sets the value of the certificateChain property.
*
* @param value
* allowed object is
* {@link CertificateChainType }
*
*/
public void setCertificateChain(CertificateChainType value) {
this.certificateChain = value;
}
/**
* Gets the value of the publicKey property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getPublicKey() {
return publicKey;
}
/**
* Sets the value of the publicKey property.
*
* @param value
* allowed object is
* byte[]
*/
public void setPublicKey(byte[] value) {
this.publicKey = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="attribute" type="{http://certificateservices.org/xsd/csmessages2_0}Attribute" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"attribute"
})
public static class Attributes {
protected List attribute;
/**
* Gets the value of the attribute property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the attribute property.
*
*
* For example, to add a new item, do as follows:
*
* getAttribute().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Attribute }
*
*
*/
public List getAttribute() {
if (attribute == null) {
attribute = new ArrayList();
}
return this.attribute;
}
}
}