Package com.netscape.certsrv.cert
Class CertData
java.lang.Object
com.netscape.certsrv.cert.CertData
- All Implemented Interfaces:
JSONSerializer
- Author:
- alee
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected String
protected Long
protected String
protected String
protected String
protected String
protected Integer
protected String
protected Date
protected CertId
protected String
protected String
Fields inherited from interface com.netscape.certsrv.util.JSONSerializer
logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static CertData
fromCertChain
(org.mozilla.jss.netscape.security.pkcs.PKCS7 pkcs7) static CertData
static CertData
getNonce()
int
hashCode()
void
setEncoded
(String encoded) void
setIssuerDN
(String issuerDN) void
void
setNotAfter
(String notAfter) void
setNotBefore
(String notBefore) void
setPkcs7CertChain
(String chain) void
setPrettyPrint
(String prettyPrint) void
setRevocationReason
(Integer revocationReason) void
setRevokedBy
(String revokedBy) void
setRevokedOn
(Date revokedOn) void
setSerialNumber
(CertId serialNumber) void
void
setSubjectDN
(String subjectDN) toXML()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.netscape.certsrv.util.JSONSerializer
toJSON
-
Field Details
-
serialNumber
-
issuerDN
-
subjectDN
-
prettyPrint
-
encoded
-
pkcs7CertChain
-
notBefore
-
notAfter
-
status
-
nonce
-
revokedOn
-
revokedBy
-
revocationReason
-
-
Constructor Details
-
CertData
public CertData()
-
-
Method Details
-
getSerialNumber
-
setSerialNumber
-
getIssuerDN
-
setIssuerDN
-
getSubjectDN
-
setSubjectDN
-
getPrettyPrint
-
setPrettyPrint
-
getEncoded
-
setEncoded
-
setPkcs7CertChain
-
getPkcs7CertChain
-
getNotBefore
-
setNotBefore
-
getNotAfter
-
setNotAfter
-
getStatus
-
setStatus
-
getNonce
-
setNonce
-
getRevokedOn
-
setRevokedOn
-
getRevokedBy
-
setRevokedBy
-
getRevocationReason
-
setRevocationReason
-
hashCode
public int hashCode() -
equals
-
toDOM
-
fromDOM
-
toXML
- Throws:
Exception
-
fromXML
- Throws:
Exception
-
fromCertChain
public static CertData fromCertChain(org.mozilla.jss.netscape.security.pkcs.PKCS7 pkcs7) throws Exception - Throws:
Exception
-