public class OCSPToken extends RevocationToken
archiveCutOff, available, certHash, expiredCertsOnCRL, nextUpdate, origin, productionDate, reason, revocationDate, sourceURL, status, thisUpdatepublicKeyOfTheSigner, signatureAlgorithm, signatureInvalidityReason, signatureValid| Constructor and Description |
|---|
OCSPToken() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkIsSignedBy(CertificateToken candidate) |
void |
extractInfo() |
String |
getAbbreviation() |
org.bouncycastle.cert.ocsp.BasicOCSPResp |
getBasicOCSPResp() |
org.bouncycastle.cert.ocsp.CertificateID |
getCertId() |
byte[] |
getEncoded() |
X500Principal |
getIssuerX500Principal() |
OCSPRespStatus |
getResponseStatus() |
boolean |
isNonceMatch() |
boolean |
isUseNonce() |
boolean |
isValid()
Indicates if the token signature is intact.
|
void |
setBasicOCSPResp(org.bouncycastle.cert.ocsp.BasicOCSPResp basicOCSPResp) |
void |
setCertId(org.bouncycastle.cert.ocsp.CertificateID certId) |
void |
setIssuerX500Principal(X500Principal issuerX500Principal) |
void |
setNonceMatch(boolean nonceMatch) |
void |
setResponseStatus(OCSPRespStatus responseStatus) |
void |
setUseNonce(boolean useNonce) |
String |
toString(String indentStr) |
equals, getArchiveCutOff, getCertHash, getCreationDate, getExpiredCertsOnCRL, getNextUpdate, getOrigin, getProductionDate, getReason, getRelatedCertificateID, getRevocationDate, getSourceURL, getStatus, getThisUpdate, hashCode, isAvailable, setAvailable, setOrigin, setRelatedCertificateID, setSourceURLgetDigest, getDigest, getDSSId, getDSSIdAsString, getPublicKeyOfTheSigner, getSignatureAlgorithm, isSelfSigned, isSignatureValid, isSignedBy, toStringpublic void extractInfo()
protected boolean checkIsSignedBy(CertificateToken candidate)
checkIsSignedBy in class Tokenpublic OCSPRespStatus getResponseStatus()
public void setResponseStatus(OCSPRespStatus responseStatus)
public boolean isUseNonce()
public void setUseNonce(boolean useNonce)
public boolean isNonceMatch()
public void setNonceMatch(boolean nonceMatch)
public org.bouncycastle.cert.ocsp.BasicOCSPResp getBasicOCSPResp()
public void setBasicOCSPResp(org.bouncycastle.cert.ocsp.BasicOCSPResp basicOCSPResp)
public org.bouncycastle.cert.ocsp.CertificateID getCertId()
public void setCertId(org.bouncycastle.cert.ocsp.CertificateID certId)
public boolean isValid()
isValid in class RevocationTokentrue or falsepublic String getAbbreviation()
getAbbreviation in class Tokenpublic byte[] getEncoded()
getEncoded in class Tokenpublic void setIssuerX500Principal(X500Principal issuerX500Principal)
public X500Principal getIssuerX500Principal()
getIssuerX500Principal in class TokenCopyright © 2019. All rights reserved.