public class RevokedCertifcateStore
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static RevokedCertifcateStore |
getInstance()
Returns the instance of RevokedCertificateStore (Singleton).
|
java.util.Date |
getRevocationDate(JAPCertificate a_cert)
Gets the revocation date for the specified cert, if and only if the
cert is revoked.
|
boolean |
isCertificateRevoked(JAPCertificate a_cert)
Checks if the given cert is revoked.
|
public static RevokedCertifcateStore getInstance()
public boolean isCertificateRevoked(JAPCertificate a_cert)
a_cert
- the cert to checktrue
if the store contains a revocation for the cert,
false
otherwisepublic java.util.Date getRevocationDate(JAPCertificate a_cert)
a_cert
- the cert to get the revocation Date fromnull
if the store
contains no revocation for the certCopyright © 2023. All rights reserved.