org.ejbca.core.protocol.ws.client.gen
Class RevokeStatus
java.lang.Object
org.ejbca.core.protocol.ws.client.gen.RevokeStatus
public class RevokeStatus
- extends java.lang.Object
Class used when checking the revocation status of a certificate.
Contains the following data:
IssuerDN
CertificateSN (hex)
RevokationDate
Reason (One of the REVOKATION_REASON constants)
- Version:
- $Id: RevokeStatus.java 8401 2009-12-04 13:22:27Z anatom $
- Author:
- Philip Vendil
|
Constructor Summary |
RevokeStatus()
Default Web Service Constuctor |
RevokeStatus(org.ejbca.core.ejb.ca.store.CertificateStatus info,
java.lang.String issuerDN,
java.lang.String serno)
|
RevokeStatus(org.ejbca.core.model.ca.crl.RevokedCertInfo info,
java.lang.String issuerDN)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NOT_REVOKED
public static final int NOT_REVOKED
- Constants defining different revocation reasons.
- See Also:
- Constant Field Values
REVOKATION_REASON_AACOMPROMISE
public static final int REVOKATION_REASON_AACOMPROMISE
- See Also:
- Constant Field Values
REVOKATION_REASON_AFFILIATIONCHANGED
public static final int REVOKATION_REASON_AFFILIATIONCHANGED
- See Also:
- Constant Field Values
REVOKATION_REASON_CACOMPROMISE
public static final int REVOKATION_REASON_CACOMPROMISE
- See Also:
- Constant Field Values
REVOKATION_REASON_CERTIFICATEHOLD
public static final int REVOKATION_REASON_CERTIFICATEHOLD
- See Also:
- Constant Field Values
REVOKATION_REASON_CESSATIONOFOPERATION
public static final int REVOKATION_REASON_CESSATIONOFOPERATION
- See Also:
- Constant Field Values
REVOKATION_REASON_KEYCOMPROMISE
public static final int REVOKATION_REASON_KEYCOMPROMISE
- See Also:
- Constant Field Values
REVOKATION_REASON_PRIVILEGESWITHDRAWN
public static final int REVOKATION_REASON_PRIVILEGESWITHDRAWN
- See Also:
- Constant Field Values
REVOKATION_REASON_REMOVEFROMCRL
public static final int REVOKATION_REASON_REMOVEFROMCRL
- See Also:
- Constant Field Values
REVOKATION_REASON_SUPERSEDED
public static final int REVOKATION_REASON_SUPERSEDED
- See Also:
- Constant Field Values
REVOKATION_REASON_UNSPECIFIED
public static final int REVOKATION_REASON_UNSPECIFIED
- See Also:
- Constant Field Values
RevokeStatus
public RevokeStatus()
- Default Web Service Constuctor
RevokeStatus
public RevokeStatus(org.ejbca.core.ejb.ca.store.CertificateStatus info,
java.lang.String issuerDN,
java.lang.String serno)
throws javax.xml.datatype.DatatypeConfigurationException
- Throws:
javax.xml.datatype.DatatypeConfigurationException
RevokeStatus
public RevokeStatus(org.ejbca.core.model.ca.crl.RevokedCertInfo info,
java.lang.String issuerDN)
throws javax.xml.datatype.DatatypeConfigurationException
- Throws:
javax.xml.datatype.DatatypeConfigurationException
getCertificateSN
public java.lang.String getCertificateSN()
- Returns:
- Returns the certificateSN in hex format.
getIssuerDN
public java.lang.String getIssuerDN()
- Returns:
- Returns the issuerDN.
getReason
public int getReason()
- Returns:
- Returns the reason.
getRevocationDate
public javax.xml.datatype.XMLGregorianCalendar getRevocationDate()
- Returns:
- Returns the revocationDate.
setCertificateSN
public void setCertificateSN(java.lang.String certificateSN)
- Parameters:
certificateSN - The certificateSN to set in hex format
setIssuerDN
public void setIssuerDN(java.lang.String issuerDN)
- Parameters:
issuerDN - The issuerDN to set.
setReason
public void setReason(int reason)
- Parameters:
reason - The reason to set.
setRevocationDate
public void setRevocationDate(javax.xml.datatype.XMLGregorianCalendar revocationDate)
- Parameters:
revocationDate - The revocationDate to set.
2010 PrimeKey Solutions AB.