Class Credential
- java.lang.Object
-
- org.certificateservices.messages.csmessages.jaxb.Credential
-
public class Credential extends java.lang.ObjectJava class for Credential complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Credential"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="credentialRequestId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="uniqueId" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/> <element name="displayName" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/> <element name="serialNumber" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/> <element name="issuerId" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="status" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="credentialType" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/> <element name="credentialSubType" 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="usages" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="usage" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="credentialData" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="issueDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="expireDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="validFromDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="revocationDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="revocationInformation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="issuerCredential" type="{http://certificateservices.org/xsd/csmessages2_0}Credential" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCredential.AttributesJava class for anonymous complex type.static classCredential.UsagesJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected Credential.Attributesattributesprotected byte[]credentialDataprotected java.lang.IntegercredentialRequestIdprotected java.lang.StringcredentialSubTypeprotected java.lang.StringcredentialTypeprotected java.lang.Stringdescriptionprotected java.lang.StringdisplayNameprotected javax.xml.datatype.XMLGregorianCalendarexpireDateprotected javax.xml.datatype.XMLGregorianCalendarissueDateprotected CredentialissuerCredentialprotected java.lang.StringissuerIdprotected javax.xml.datatype.XMLGregorianCalendarrevocationDateprotected java.lang.StringrevocationInformationprotected java.lang.StringserialNumberprotected intstatusprotected java.lang.StringuniqueIdprotected Credential.Usagesusagesprotected javax.xml.datatype.XMLGregorianCalendarvalidFromDate
-
Constructor Summary
Constructors Constructor Description Credential()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Credential.AttributesgetAttributes()Gets the value of the attributes property.byte[]getCredentialData()Gets the value of the credentialData property.java.lang.IntegergetCredentialRequestId()Gets the value of the credentialRequestId property.java.lang.StringgetCredentialSubType()Gets the value of the credentialSubType property.java.lang.StringgetCredentialType()Gets the value of the credentialType property.java.lang.StringgetDescription()Gets the value of the description property.java.lang.StringgetDisplayName()Gets the value of the displayName property.javax.xml.datatype.XMLGregorianCalendargetExpireDate()Gets the value of the expireDate property.javax.xml.datatype.XMLGregorianCalendargetIssueDate()Gets the value of the issueDate property.CredentialgetIssuerCredential()Gets the value of the issuerCredential property.java.lang.StringgetIssuerId()Gets the value of the issuerId property.javax.xml.datatype.XMLGregorianCalendargetRevocationDate()Gets the value of the revocationDate property.java.lang.StringgetRevocationInformation()Gets the value of the revocationInformation property.java.lang.StringgetSerialNumber()Gets the value of the serialNumber property.intgetStatus()Gets the value of the status property.java.lang.StringgetUniqueId()Gets the value of the uniqueId property.Credential.UsagesgetUsages()Gets the value of the usages property.javax.xml.datatype.XMLGregorianCalendargetValidFromDate()Gets the value of the validFromDate property.voidsetAttributes(Credential.Attributes value)Sets the value of the attributes property.voidsetCredentialData(byte[] value)Sets the value of the credentialData property.voidsetCredentialRequestId(java.lang.Integer value)Sets the value of the credentialRequestId property.voidsetCredentialSubType(java.lang.String value)Sets the value of the credentialSubType property.voidsetCredentialType(java.lang.String value)Sets the value of the credentialType property.voidsetDescription(java.lang.String value)Sets the value of the description property.voidsetDisplayName(java.lang.String value)Sets the value of the displayName property.voidsetExpireDate(javax.xml.datatype.XMLGregorianCalendar value)Sets the value of the expireDate property.voidsetIssueDate(javax.xml.datatype.XMLGregorianCalendar value)Sets the value of the issueDate property.voidsetIssuerCredential(Credential value)Sets the value of the issuerCredential property.voidsetIssuerId(java.lang.String value)Sets the value of the issuerId property.voidsetRevocationDate(javax.xml.datatype.XMLGregorianCalendar value)Sets the value of the revocationDate property.voidsetRevocationInformation(java.lang.String value)Sets the value of the revocationInformation property.voidsetSerialNumber(java.lang.String value)Sets the value of the serialNumber property.voidsetStatus(int value)Sets the value of the status property.voidsetUniqueId(java.lang.String value)Sets the value of the uniqueId property.voidsetUsages(Credential.Usages value)Sets the value of the usages property.voidsetValidFromDate(javax.xml.datatype.XMLGregorianCalendar value)Sets the value of the validFromDate property.
-
-
-
Field Detail
-
credentialRequestId
protected java.lang.Integer credentialRequestId
-
uniqueId
protected java.lang.String uniqueId
-
displayName
protected java.lang.String displayName
-
serialNumber
protected java.lang.String serialNumber
-
issuerId
protected java.lang.String issuerId
-
status
protected int status
-
credentialType
protected java.lang.String credentialType
-
credentialSubType
protected java.lang.String credentialSubType
-
attributes
protected Credential.Attributes attributes
-
usages
protected Credential.Usages usages
-
credentialData
protected byte[] credentialData
-
description
protected java.lang.String description
-
issueDate
protected javax.xml.datatype.XMLGregorianCalendar issueDate
-
expireDate
protected javax.xml.datatype.XMLGregorianCalendar expireDate
-
validFromDate
protected javax.xml.datatype.XMLGregorianCalendar validFromDate
-
revocationDate
protected javax.xml.datatype.XMLGregorianCalendar revocationDate
-
revocationInformation
protected java.lang.String revocationInformation
-
issuerCredential
protected Credential issuerCredential
-
-
Method Detail
-
getCredentialRequestId
public java.lang.Integer getCredentialRequestId()
Gets the value of the credentialRequestId property.- Returns:
- possible object is
Integer
-
setCredentialRequestId
public void setCredentialRequestId(java.lang.Integer value)
Sets the value of the credentialRequestId property.- Parameters:
value- allowed object isInteger
-
getUniqueId
public java.lang.String getUniqueId()
Gets the value of the uniqueId property.- Returns:
- possible object is
String
-
setUniqueId
public void setUniqueId(java.lang.String value)
Sets the value of the uniqueId property.- Parameters:
value- allowed object isString
-
getDisplayName
public java.lang.String getDisplayName()
Gets the value of the displayName property.- Returns:
- possible object is
String
-
setDisplayName
public void setDisplayName(java.lang.String value)
Sets the value of the displayName property.- Parameters:
value- allowed object isString
-
getSerialNumber
public java.lang.String getSerialNumber()
Gets the value of the serialNumber property.- Returns:
- possible object is
String
-
setSerialNumber
public void setSerialNumber(java.lang.String value)
Sets the value of the serialNumber property.- Parameters:
value- allowed object isString
-
getIssuerId
public java.lang.String getIssuerId()
Gets the value of the issuerId property.- Returns:
- possible object is
String
-
setIssuerId
public void setIssuerId(java.lang.String value)
Sets the value of the issuerId property.- Parameters:
value- allowed object isString
-
getStatus
public int getStatus()
Gets the value of the status property.
-
setStatus
public void setStatus(int value)
Sets the value of the status property.
-
getCredentialType
public java.lang.String getCredentialType()
Gets the value of the credentialType property.- Returns:
- possible object is
String
-
setCredentialType
public void setCredentialType(java.lang.String value)
Sets the value of the credentialType property.- Parameters:
value- allowed object isString
-
getCredentialSubType
public java.lang.String getCredentialSubType()
Gets the value of the credentialSubType property.- Returns:
- possible object is
String
-
setCredentialSubType
public void setCredentialSubType(java.lang.String value)
Sets the value of the credentialSubType property.- Parameters:
value- allowed object isString
-
getAttributes
public Credential.Attributes getAttributes()
Gets the value of the attributes property.- Returns:
- possible object is
Credential.Attributes
-
setAttributes
public void setAttributes(Credential.Attributes value)
Sets the value of the attributes property.- Parameters:
value- allowed object isCredential.Attributes
-
getUsages
public Credential.Usages getUsages()
Gets the value of the usages property.- Returns:
- possible object is
Credential.Usages
-
setUsages
public void setUsages(Credential.Usages value)
Sets the value of the usages property.- Parameters:
value- allowed object isCredential.Usages
-
getCredentialData
public byte[] getCredentialData()
Gets the value of the credentialData property.- Returns:
- possible object is byte[]
-
setCredentialData
public void setCredentialData(byte[] value)
Sets the value of the credentialData property.- Parameters:
value- allowed object is byte[]
-
getDescription
public java.lang.String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(java.lang.String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getIssueDate
public javax.xml.datatype.XMLGregorianCalendar getIssueDate()
Gets the value of the issueDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setIssueDate
public void setIssueDate(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the issueDate property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getExpireDate
public javax.xml.datatype.XMLGregorianCalendar getExpireDate()
Gets the value of the expireDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setExpireDate
public void setExpireDate(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the expireDate property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getValidFromDate
public javax.xml.datatype.XMLGregorianCalendar getValidFromDate()
Gets the value of the validFromDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setValidFromDate
public void setValidFromDate(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the validFromDate property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getRevocationDate
public javax.xml.datatype.XMLGregorianCalendar getRevocationDate()
Gets the value of the revocationDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setRevocationDate
public void setRevocationDate(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the revocationDate property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getRevocationInformation
public java.lang.String getRevocationInformation()
Gets the value of the revocationInformation property.- Returns:
- possible object is
String
-
setRevocationInformation
public void setRevocationInformation(java.lang.String value)
Sets the value of the revocationInformation property.- Parameters:
value- allowed object isString
-
getIssuerCredential
public Credential getIssuerCredential()
Gets the value of the issuerCredential property.- Returns:
- possible object is
Credential
-
setIssuerCredential
public void setIssuerCredential(Credential value)
Sets the value of the issuerCredential property.- Parameters:
value- allowed object isCredential
-
-