|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packagecom.itextpdf.signatures
as colored differences. Deletions are shownlike this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a tag will cause all subsequent paragraphs to be displayed differently.
Verifies if a a valid CRL is found for the certificate. If this method returns false, it doesn't mean the certificate isn't valid. It means we couldn't verify it against any CRL that was available. @param signCert the certificate that needs to be checked @param issuerCert its issuer @return a list of VerificationOK
objects. The list will be empty if the certificate couldn't be verified. @see com.itextpdf.signatures.RootStoreVerifier#verify(java.security.cert.X509Certificate, java.security.cert.X509Certificate, java.util.Date)
Verifies a single certificate. @param certthe certificate to verify @param crlsthe certificate revocation list ornull
@param calendar the date, shall not be null @return aString
with the error description ornull
if no error
Verifies certificates against a list of CRLs and OCSP responses. @param signCert the signing certificate @param issuerCert the issuer's certificate @return a list of VerificationOK
objects. The list will be empty if the certificate couldn't be verified. @throws GeneralSecurityException if some problems with signature or security occurred @see com.itextpdf.signatures.RootStoreVerifier#verify(java.security.cert.X509Certificate, java.security.cert.X509Certificate, java.util.Date)
Verifies a certificate against a single OCSP response @param ocspResp the OCSP response @param signCert the certificate that needs to be checked @param issuerCert the certificate of CA (certificate that issued signCert). This certificate is consideredClass OCSPVerifier, Listtrustedtrusted and valid by this method. @param signDate sign date @return {@code true}, in case successful check, otherwise false. @throws GeneralSecurityException if OCSP response verification cannot be done or failed
Verifies if a valid OCSP response is found for the certificate. If this method returns false, it doesn't mean the certificate isn't valid. It means we couldn't verify it against any OCSP response that was available. @param signCert the certificate that needs to be checked @param issuerCert its issuer @return a list of VerificationOK
objects. The list will be empty if the certificate couldn't be verified. @see com.itextpdf.signatures.RootStoreVerifier#verify(java.security.cert.X509Certificate, java.security.cert.X509Certificate, java.util.Date)
Gets the /ByteRange. @return an array of pairs of integers that specifies the byte range used in the digest calculation. A pair consists of the starting byte offset and the length.Class PdfSignature, PdfName getSubFilter()
A name that describes the encoding of the signature value and key information in the signature dictionary. @return a PdfName which usually has a value either PdfName.Adbe_pkcs7_detached or PdfName.ETSI_CAdES_DETACHED.Class PdfSignature, PdfName getType()
The type of PDF object that the wrapped dictionary describes; if present, shall be PdfName.Sig for a signature dictionary or PdfName.DocTimeStamp for a timestamp signature dictionary. Shall be not null if it's value is PdfName.DocTimeStamp. The default value is: PdfName.Sig. @return a PdfName that identifies type of the wrapped dictionary, returns null if it is not explicitly specified.Class PdfSignature, void setByteRange(int[])
Sets the /ByteRange. @param range an array of pairs of integers that specifies the byte range used in the digest calculation. A pair consists of the starting byte offset and the length
Creates a RootStoreVerifier in a chain of verifiers. @paramClass RootStoreVerifier, void setRootStore(KeyStore)verifierverifier the next verifier in the chain
Sets the Key Store against which a certificate can be checked. @paramClass RootStoreVerifier, ListkeyStorekeyStorea root store
Verifies a single certificate against a key store (if present). @paramsignCertsignCertthe certificate to verify @paramissuerCertissuerCertthe issuer certificate @paramsignDatesignDate the date the certificate needs to be valid @return a list ofVerificationOK
objects. The list will be empty if the certificate couldn't be verified.