Java com.lowagie.text.pdf PdfPKCS7 fields, constructors, methods, implement or subclass

Example usage for Java com.lowagie.text.pdf PdfPKCS7 fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.lowagie.text.pdf PdfPKCS7.

The text is from its open source code.

Constructor

Method

byte[]getAuthenticatedAttributeBytes(byte secondDigest[], Calendar signingTime, byte[] ocsp)
When using authenticatedAttributes the authentication process is different.
Certificate[]getCertificates()
Get all the X.509 certificates associated with this PKCS#7 object in no particular order.
CollectiongetCRLs()
Get the X.509 certificate revocation lists associated with this PKCS#7 object
byte[]getEncodedPKCS1()
Gets the bytes for the PKCS#1 object.
byte[]getEncodedPKCS7()
Gets the bytes for the PKCS7SignedData object.
byte[]getEncodedPKCS7(byte secondDigest[], Calendar signingTime, TSAClient tsaClient, byte[] ocsp)
Gets the bytes for the PKCS7SignedData object.
StringgetLocation()
Getter for property location.
BasicOCSPRespgetOcsp()
Gets the OCSP basic response if there is one.
StringgetOCSPURL(X509Certificate certificate)
Retrieves the OCSP URL from the given certificate.
StringgetReason()
Getter for property reason.
Certificate[]getSignCertificateChain()
Get the X.509 sign certificate chain associated with this PKCS#7 object.
CalendargetSignDate()
Getter for property signDate.
X509CertificategetSigningCertificate()
Get the X.509 certificate actually used to sign the digest.
StringgetSignName()
Getter for property sigName.
X509NamegetSubjectFields(X509Certificate cert)
Get the subject fields from an X509 Certificate
CalendargetTimeStampDate()
Gets the timestamp date
TimeStampTokengetTimeStampToken()
Gets the timestamp token if there is one.
booleanisRevocationValid()
Checks if OCSP revocation refers to the document signing certificate.
KeyStoreloadCacertsKeyStore()
Loads the default root certificates at <java.home>/lib/security/cacerts with the default provider.
voidsetExternalDigest(byte digest[], byte RSAdata[], String digestEncryptionAlgorithm)
Sets the digest/signature to an external calculated value.
voidupdate(byte[] buf, int off, int len)
Update the digest with the specified bytes.
booleanverify()
Verify the digest.
StringverifyCertificate(X509Certificate cert, Collection crls, Calendar calendar)
Verifies a single certificate.
Object[]verifyCertificates(Certificate certs[], KeyStore keystore, Collection crls, Calendar calendar)
Verifies a certificate chain against a KeyStore.
booleanverifyTimestampCertificates(TimeStampToken ts, KeyStore keystore, String provider)
Verifies a timestamp against a KeyStore.