public class CertificateValidationData
extends java.lang.Object
Constructor and Description |
---|
CertificateValidationData(iaik.x509.X509Certificate[] certs,
iaik.x509.X509CRL[] crls,
iaik.x509.ocsp.OCSPResponse[] ocspResponses)
Constructor taking certificates, crls and OCSP responses that shall be included.
|
Modifier and Type | Method and Description |
---|---|
void |
addCertificates(iaik.x509.X509Certificate[] certificates)
Add given certificates.
|
void |
addCrls(iaik.x509.X509CRL[] crls)
Add given CRLs.
|
void |
addOcspResponses(iaik.x509.ocsp.OCSPResponse[] ocspResponses)
Add given OCSP responses
|
iaik.x509.X509Certificate[] |
getCertificates() |
iaik.x509.X509CRL[] |
getCrls() |
iaik.x509.ocsp.OCSPResponse[] |
getOcspResponses() |
public CertificateValidationData(iaik.x509.X509Certificate[] certs, iaik.x509.X509CRL[] crls, iaik.x509.ocsp.OCSPResponse[] ocspResponses)
public iaik.x509.X509Certificate[] getCertificates()
public void addCertificates(iaik.x509.X509Certificate[] certificates)
certificates
- certificates to be added as validation datapublic iaik.x509.X509CRL[] getCrls()
public void addCrls(iaik.x509.X509CRL[] crls)
crls
- CRLs to be added as validation datapublic iaik.x509.ocsp.OCSPResponse[] getOcspResponses()
public void addOcspResponses(iaik.x509.ocsp.OCSPResponse[] ocspResponses)
ocspResponses
- OCSP responses to be added as validation data