public abstract class RevocationToken extends Token
| Modifier and Type | Field and Description |
|---|---|
protected Date |
archiveCutOff |
protected boolean |
available
This boolean shows if the online resource is available
|
protected Date |
expiredCertsOnCRL |
protected Date |
nextUpdate
Represents the next update date of the CRL or null for OCSP response.
|
protected RevocationOrigin |
origin
Origin of the revocation data (signature or external)
|
protected Date |
productionDate
Represents the production date of the OCSP response or the thisUpdate in case of CRL.
|
protected String |
reason
The reason of the revocation.
|
protected Date |
revocationDate
Represents the revocation date from an X509CRLEntry or from an BasicOCSPResp
--> getResponses() --> ((RevokedStatus) singleResp.getCertStatus()).getRevocationTime() |
protected String |
sourceURL
The URL which was used to obtain the revocation data (online).
|
protected Boolean |
status
Contains the revocation status of the token.
|
protected Date |
thisUpdate
Represents the this update date of the CRL.
|
extraInfo, issuerToken, issuerX500Principal, signatureAlgorithm, signatureInvalidityReason, signatureValid| Constructor and Description |
|---|
RevocationToken() |
| Modifier and Type | Method and Description |
|---|---|
Date |
getArchiveCutOff() |
Date |
getExpiredCertsOnCRL() |
Date |
getNextUpdate() |
RevocationOrigin |
getOrigin() |
Date |
getProductionDate() |
String |
getReason() |
Date |
getRevocationDate() |
String |
getSourceURL() |
Boolean |
getStatus() |
Date |
getThisUpdate() |
boolean |
isAvailable() |
abstract boolean |
isValid()
Indicates if the token signature is intact and the signing certificate matches with the signature and if the
extended key usage is present.
|
void |
setAvailable(boolean available) |
void |
setOrigin(RevocationOrigin origin) |
void |
setSourceURL(String sourceURL)
This sets the revocation data source URL.
|
equals, extraInfo, getAbbreviation, getDigest, getDSSId, getDSSIdAsString, getEncoded, getIssuerToken, getIssuerX500Principal, getSignatureAlgorithm, getValidationInfo, hashCode, isSelfSigned, isSignatureValid, isSignedBy, isTrusted, toString, toStringprotected RevocationOrigin origin
protected String sourceURL
protected boolean available
protected Boolean status
protected Date productionDate
protected Date thisUpdate
protected Date nextUpdate
protected Date revocationDate
protected Date expiredCertsOnCRL
protected Date archiveCutOff
protected String reason
public String getSourceURL()
public void setSourceURL(String sourceURL)
OnlineSource.sourceURL - the URL which was used to retrieve this CRLpublic RevocationOrigin getOrigin()
public void setOrigin(RevocationOrigin origin)
public boolean isAvailable()
public void setAvailable(boolean available)
public Boolean getStatus()
public Date getProductionDate()
public Date getThisUpdate()
public Date getNextUpdate()
public Date getRevocationDate()
public Date getExpiredCertsOnCRL()
public Date getArchiveCutOff()
public String getReason()
public abstract boolean isValid()
true if the conditions are meetCopyright © 2018. All rights reserved.