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.
(将 CRL 添加到此吊销数据集。)
|
void |
addCRL(java.security.cert.X509CRL crl)
Adds a CRL to this revocation data set.
(将 CRL 添加到此吊销数据集。)
|
void |
addOCSP(byte[] encodedOcsp)
Adds an OCSP response to this revocation data set.
(向此撤销数据集添加 OCSP 响应。)
|
java.util.List<byte[]> |
getCRLs()
Gives back a list of all CRLs.
(返回所有 CRL 的列表。)
|
java.util.List<byte[]> |
getOCSPs()
Gives back a list of all OCSP responses.
(返回所有 OCSP 响应的列表。)
|
boolean |
hasCRLs()
Returns
true if this revocation data set holds CRLs.
(如果此撤销数据集包含 CRL,则返回 true。)
|
boolean |
hasOCSPs()
Returns
true if this revocation data set holds OCSP responses.
(如果此撤销数据集包含 OCSP 响应,则返回 true。)
|
boolean |
hasRevocationDataEntries()
Returns
true if this revocation data is not empty.
(如果此吊销数据不为空,则返回 true。)
|
public void addCRL(byte[] encodedCrl)
encodedCrl
-
(编码Crl -)
public void addCRL(java.security.cert.X509CRL crl)
crl
-
(crl-)
public void addOCSP(byte[] encodedOcsp)
encodedOcsp
-
(编码Ocsp -)
public java.util.List<byte[]> getCRLs()
public java.util.List<byte[]> getOCSPs()
public boolean hasOCSPs()
true
if this revocation data set holds OCSP responses.
(如果此撤销数据集包含 OCSP 响应,则返回 true。)
true
if this revocation data set holds OCSP responses.
(如果此撤销数据集包含 OCSP 响应,则为 true。)
public boolean hasCRLs()
true
if this revocation data set holds CRLs.
(如果此撤销数据集包含 CRL,则返回 true。)
true
if this revocation data set holds CRLs.
(如果此吊销数据集包含 CRL,则为 true。)
public boolean hasRevocationDataEntries()
true
if this revocation data is not empty.
(如果此吊销数据不为空,则返回 true。)
true
if this revocation data is not empty.
(如果此吊销数据不为空,则为 true。)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.