public class PdfQualifiedSignatureHelper extends Object
SignatureProfile| Modifier and Type | Field and Description |
|---|---|
static int |
REVOCATIONDATA_ANY |
static int |
REVOCATIONDATA_CRL |
static int |
REVOCATIONDATA_OCSP |
| Constructor and Description |
|---|
PdfQualifiedSignatureHelper(X509Certificate certificate,
TimeStamp timestamp)
Creates helper and prepares all required data for QUALIFIED profile certificate.
|
PdfQualifiedSignatureHelper(X509Certificate certificate,
TimeStamp timestamp,
boolean useTrustedList) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawCertificateHierarchy() |
List<byte[]> |
getCertificates()
Returns a list of the involved certificates.
|
List<byte[]> |
getCRLs()
Returns a list of the involved CRL.
|
List<byte[]> |
getOCSPs()
Returns a list of the involved OCSP responses.
|
public static final int REVOCATIONDATA_ANY
public static final int REVOCATIONDATA_CRL
public static final int REVOCATIONDATA_OCSP
public PdfQualifiedSignatureHelper(X509Certificate certificate, TimeStamp timestamp) throws KeyStoreException, CertificateException, NoSuchAlgorithmException, CertValidatorException, TSPException
certificate - timestamp - KeyStoreExceptionCertificateExceptionNoSuchAlgorithmExceptionCertValidatorExceptionTSPExceptionpublic PdfQualifiedSignatureHelper(X509Certificate certificate, TimeStamp timestamp, boolean useTrustedList) throws KeyStoreException, CertificateException, NoSuchAlgorithmException, CertValidatorException, TSPException
public List<byte[]> getCertificates() throws CertificateEncodingException
CertificateEncodingExceptionpublic List<byte[]> getCRLs() throws KeyStoreException, CRLException
KeyStoreExceptionCRLExceptionpublic List<byte[]> getOCSPs() throws KeyStoreException, CRLException
KeyStoreExceptionCRLExceptionpublic void drawCertificateHierarchy()
throws KeyStoreException
KeyStoreException