public class RevocationData
extends java.lang.Object
Constructor and Description |
---|
RevocationData()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addCRL(byte[] encodedCrl)
Adds a CRL to this revocation data set.
|
void |
addCRL(java.security.cert.X509CRL crl)
Adds a CRL to this revocation data set.
|
void |
addOCSP(byte[] encodedOcsp)
Adds an OCSP response to this revocation data set.
|
java.util.List<byte[]> |
getCRLs()
Gives back a list of all CRLs.
|
java.util.List<byte[]> |
getOCSPs()
Gives back a list of all OCSP responses.
|
boolean |
hasCRLs()
Returns
true if this revocation data set holds CRLs. |
boolean |
hasOCSPs()
Returns
true if this revocation data set holds OCSP
responses. |
boolean |
hasRevocationDataEntries()
Returns
true if this revocation data is not empty. |
public void addCRL(byte[] encodedCrl)
encodedCrl
- public void addCRL(java.security.cert.X509CRL crl)
crl
- public void addOCSP(byte[] encodedOcsp)
encodedOcsp
- public java.util.List<byte[]> getCRLs()
public java.util.List<byte[]> getOCSPs()
public boolean hasOCSPs()
true
if this revocation data set holds OCSP
responses.true
if this revocation data set holds OCSP
responses.public boolean hasCRLs()
true
if this revocation data set holds CRLs.true
if this revocation data set holds CRLs.public boolean hasRevocationDataEntries()
true
if this revocation data is not empty.true
if this revocation data is not empty.Copyright 2021 The Apache Software Foundation or its licensors, as applicable.