Skip navigation links
A B C D E F G H I K L M N O P R S T U V X 

A

acroForm - Variable in class com.itextpdf.signatures.LtvVerifier
The fields in the revision that is being verified.
addDeveloperExtension(PdfDeveloperExtension) - Method in class com.itextpdf.signatures.PdfSigner
 
addDocMDP(PdfSignature) - Method in class com.itextpdf.signatures.PdfSigner
Adds keys to the signature dictionary that define the certification level and the permissions.
addFieldMDP(PdfSignature, PdfSigFieldLock) - Method in class com.itextpdf.signatures.PdfSigner
Adds keys to the signature dictionary that define the field permissions.
addUrl(String) - Method in class com.itextpdf.signatures.CrlClientOnline
Adds an URL to the list of CRL URLs
addUrl(URL) - Method in class com.itextpdf.signatures.CrlClientOnline
Adds an URL to the list of CRL URLs
addVerification(String, IOcspClient, ICrlClient, LtvVerification.CertificateOption, LtvVerification.Level, LtvVerification.CertificateInclusion) - Method in class com.itextpdf.signatures.LtvVerification
Add verification for a particular signature.
addVerification(String, Collection<byte[]>, Collection<byte[]>, Collection<byte[]>) - Method in class com.itextpdf.signatures.LtvVerification
Adds verification to the signature.
appearance - Variable in class com.itextpdf.signatures.PdfSigner
The signature appearance.
asLongArray(PdfArray) - Static method in class com.itextpdf.signatures.SignatureUtil
Deprecated.
Will be removed in 7.2. Use PdfArray.toLongArray() instead
AUTHORITY_INFO_ACCESS - Static variable in class com.itextpdf.signatures.OID.X509Extensions
One of the Internet Certificate Extensions also from https://tools.ietf.org/html/rfc5280
AUTHORITY_KEY_IDENTIFIER - Static variable in class com.itextpdf.signatures.OID.X509Extensions
One of the standard extensions from https://tools.ietf.org/html/rfc5280

B

BASIC_CONSTRAINTS - Static variable in class com.itextpdf.signatures.OID.X509Extensions
One of the standard extensions from https://tools.ietf.org/html/rfc5280
BouncyCastleDigest - Class in com.itextpdf.signatures
Implementation for digests accessed directly from the BouncyCastle library bypassing any provider definition.
BouncyCastleDigest() - Constructor for class com.itextpdf.signatures.BouncyCastleDigest
 
bout - Variable in class com.itextpdf.signatures.PdfSigner
The bytes of the file right before the signature is added (if raf is null).

C

C - Static variable in class com.itextpdf.signatures.CertificateInfo.X500Name
Country code - StringType(SIZE(2)).
certificate - Variable in class com.itextpdf.signatures.VerificationOK
The certificate that was verified successfully.
CERTIFICATE_POLICIES - Static variable in class com.itextpdf.signatures.OID.X509Extensions
One of the standard extensions from https://tools.ietf.org/html/rfc5280
CertificateInfo - Class in com.itextpdf.signatures
Class containing static methods that allow you to get information from an X509 Certificate: the issuer and the subject.
CertificateInfo() - Constructor for class com.itextpdf.signatures.CertificateInfo
 
CertificateInfo.X500Name - Class in com.itextpdf.signatures
Class that holds an X509 name.
CertificateInfo.X509NameTokenizer - Class in com.itextpdf.signatures
Class for breaking up an X500 Name into it's component tokens, similar to StringTokenizer.
CertificateUtil - Class in com.itextpdf.signatures
This class contains a series of static methods that allow you to retrieve information from a Certificate.
CertificateUtil() - Constructor for class com.itextpdf.signatures.CertificateUtil
 
CertificateVerification - Class in com.itextpdf.signatures
This class consists of some methods that allow you to verify certificates.
CertificateVerification() - Constructor for class com.itextpdf.signatures.CertificateVerification
 
CertificateVerifier - Class in com.itextpdf.signatures
Superclass for a series of certificate verifiers that will typically be used in a chain.
CertificateVerifier(CertificateVerifier) - Constructor for class com.itextpdf.signatures.CertificateVerifier
Creates the final CertificateVerifier in a chain of verifiers.
certificationLevel - Variable in class com.itextpdf.signatures.PdfSigner
The certification level.
CERTIFIED_FORM_FILLING - Static variable in class com.itextpdf.signatures.PdfSigner
Author signature, form filling allowed.
CERTIFIED_FORM_FILLING_AND_ANNOTATIONS - Static variable in class com.itextpdf.signatures.PdfSigner
Author signature, form filling and annotations allowed.
CERTIFIED_NO_CHANGES_ALLOWED - Static variable in class com.itextpdf.signatures.PdfSigner
Author signature, no changes allowed.
close(PdfDictionary) - Method in class com.itextpdf.signatures.PdfSigner
This is the last method to be called when using external signatures.
closed - Variable in class com.itextpdf.signatures.PdfSigner
Boolean to check if this PdfSigner instance has been closed already or not.
CN - Static variable in class com.itextpdf.signatures.CertificateInfo.X500Name
Common name - StringType(SIZE(1..64)).
com.itextpdf.signatures - package com.itextpdf.signatures
 
convertToHex(byte[]) - Static method in class com.itextpdf.signatures.LtvVerification
Converts an array of bytes to a String of hexadecimal values
coversWholeDocument() - Method in class com.itextpdf.signatures.LtvVerifier
Checks if the signature covers the whole document and throws an exception if the document was altered
CRL_DISTRIBUTION_POINTS - Static variable in class com.itextpdf.signatures.OID.X509Extensions
One of the standard extensions from https://tools.ietf.org/html/rfc5280
CrlClientOffline - Class in com.itextpdf.signatures
An implementation of the CrlClient that handles offline Certificate Revocation Lists.
CrlClientOffline(byte[]) - Constructor for class com.itextpdf.signatures.CrlClientOffline
Creates an instance of a CrlClient in case you have a local cache of the Certificate Revocation List.
CrlClientOffline(CRL) - Constructor for class com.itextpdf.signatures.CrlClientOffline
Creates an instance of a CrlClient in case you have a local cache of the Certificate Revocation List.
CrlClientOnline - Class in com.itextpdf.signatures
An implementation of the CrlClient that fetches the CRL bytes from an URL.
CrlClientOnline() - Constructor for class com.itextpdf.signatures.CrlClientOnline
Creates a CrlClientOnline instance that will try to find a single CRL by walking through the certificate chain.
CrlClientOnline(String...) - Constructor for class com.itextpdf.signatures.CrlClientOnline
Creates a CrlClientOnline instance using one or more URLs.
CrlClientOnline(URL...) - Constructor for class com.itextpdf.signatures.CrlClientOnline
Creates a CrlClientOnline instance using one or more URLs.
CrlClientOnline(Certificate[]) - Constructor for class com.itextpdf.signatures.CrlClientOnline
Creates a CrlClientOnline instance using a certificate chain.
CRLVerifier - Class in com.itextpdf.signatures
Class that allows you to verify a certificate against one or more Certificate Revocation Lists.
CRLVerifier(CertificateVerifier, List<X509CRL>) - Constructor for class com.itextpdf.signatures.CRLVerifier
Creates a CRLVerifier instance.
cryptoDictionary - Variable in class com.itextpdf.signatures.PdfSigner
The crypto dictionary.

D

DC - Static variable in class com.itextpdf.signatures.CertificateInfo.X500Name
Object identifier.
DEFAULTHASHALGORITHM - Static variable in class com.itextpdf.signatures.TSAClientBouncyCastle
The default value for the hash algorithm
DefaultSymbols - Static variable in class com.itextpdf.signatures.CertificateInfo.X500Name
A Map with default symbols.
DEFAULTTOKENSIZE - Static variable in class com.itextpdf.signatures.TSAClientBouncyCastle
The default value for the hash algorithm
digest(InputStream, String, String) - Static method in class com.itextpdf.signatures.DigestAlgorithms
Creates a hash using a specific digest algorithm and a provider.
digest(InputStream, MessageDigest) - Static method in class com.itextpdf.signatures.DigestAlgorithms
Create a digest based on the inputstream.
digestAlgorithm - Variable in class com.itextpdf.signatures.TSAClientBouncyCastle
Hash algorithm
DigestAlgorithms - Class in com.itextpdf.signatures
Class that contains a map with the different message digest algorithms.
DigestAlgorithms() - Constructor for class com.itextpdf.signatures.DigestAlgorithms
 
document - Variable in class com.itextpdf.signatures.LtvVerifier
A document object for the revision that is being verified.
document - Variable in class com.itextpdf.signatures.PdfSigner
The PdfDocument.
documentContainsCertificationOrApprovalSignatures() - Method in class com.itextpdf.signatures.PdfSigner
 
doesSignatureFieldExist(String) - Method in class com.itextpdf.signatures.SignatureUtil
Checks whether a name exists as a signature field or not.
dss - Variable in class com.itextpdf.signatures.LtvVerifier
The document security store for the revision that is being verified

E

E - Static variable in class com.itextpdf.signatures.CertificateInfo.X500Name
Email address in Verisign certificates.
EmailAddress - Static variable in class com.itextpdf.signatures.CertificateInfo.X500Name
Email address (RSA PKCS#9 extension) - IA5String.
EncryptionAlgorithms - Class in com.itextpdf.signatures
Class that contains a map with the different encryption algorithms.
EncryptionAlgorithms() - Constructor for class com.itextpdf.signatures.EncryptionAlgorithms
 
exclusionLocations - Variable in class com.itextpdf.signatures.PdfSigner
Name and content of keys that can only be added in the close() method.
EXTENDED_KEY_USAGE - Static variable in class com.itextpdf.signatures.OID.X509Extensions
One of the standard extensions from https://tools.ietf.org/html/rfc5280
ExternalBlankSignatureContainer - Class in com.itextpdf.signatures
Produces a blank (or empty) signature.
ExternalBlankSignatureContainer(PdfDictionary) - Constructor for class com.itextpdf.signatures.ExternalBlankSignatureContainer
Creates an ExternalBlankSignatureContainer.
ExternalBlankSignatureContainer(PdfName, PdfName) - Constructor for class com.itextpdf.signatures.ExternalBlankSignatureContainer
Creates an ExternalBlankSignatureContainer.
extractRevision(String) - Method in class com.itextpdf.signatures.SignatureUtil
Extracts a revision from the document.

F

fieldLock - Variable in class com.itextpdf.signatures.PdfSigner
Signature field lock dictionary.
FieldLock(PdfName, PdfArray) - Constructor for class com.itextpdf.signatures.SignaturePermissions.FieldLock
Creates a FieldLock instance
fieldName - Variable in class com.itextpdf.signatures.PdfSigner
The name of the field.
FRESHEST_CRL - Static variable in class com.itextpdf.signatures.OID.X509Extensions
One of the standard extensions from https://tools.ietf.org/html/rfc5280

G

GENERATION - Static variable in class com.itextpdf.signatures.CertificateInfo.X500Name
Naming attribute of type X520name.
getAction() - Method in class com.itextpdf.signatures.SignaturePermissions.FieldLock
Getter for the field lock action.
getAlgorithm(String) - Static method in class com.itextpdf.signatures.EncryptionAlgorithms
Gets the algorithm name for a certain id.
getAllowedDigest(String) - Static method in class com.itextpdf.signatures.DigestAlgorithms
Returns the id of a digest algorithms that is allowed in PDF, or null if it isn't allowed.
getAppearance() - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Constructs appearance (top-level) for a signature.
getAuthenticatedAttributeBytes(byte[], byte[], Collection<byte[]>, PdfSigner.CryptoStandard) - Method in class com.itextpdf.signatures.PdfPKCS7
getAuthenticatedAttributeBytes(byte[], PdfSigner.CryptoStandard, Collection<byte[]>, Collection<byte[]>) - Method in class com.itextpdf.signatures.PdfPKCS7
When using authenticatedAttributes the authentication process is different.
getBasicOCSPResp(X509Certificate, X509Certificate, String) - Method in class com.itextpdf.signatures.OcspClientBouncyCastle
Gets OCSP response.
getBlankSignatureNames() - Method in class com.itextpdf.signatures.SignatureUtil
Gets the field names that have blank signatures.
getByteRange() - Method in class com.itextpdf.signatures.PdfSignature
Gets the /ByteRange.
getCert() - Method in class com.itextpdf.signatures.PdfSignature
Gets the /Cert entry value of this signature.
getCertificate() - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Get the signing certificate.
getCertificates() - Method in class com.itextpdf.signatures.PdfPKCS7
Get all the X.509 certificates associated with this PKCS#7 object in no particular order.
getCertificationLevel() - Method in class com.itextpdf.signatures.PdfSigner
Returns the document's certification level.
getContact() - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Returns the signing contact.
getContents() - Method in class com.itextpdf.signatures.PdfSignature
Gets the /Contents entry value.
getCRL(X509Certificate) - Static method in class com.itextpdf.signatures.CertificateUtil
Gets a CRL from an X509 certificate.
getCRL(String) - Static method in class com.itextpdf.signatures.CertificateUtil
Gets the CRL object using a CRL URL.
getCRL(X509Certificate, X509Certificate) - Method in class com.itextpdf.signatures.CRLVerifier
Fetches a CRL for a specific certificate online (without further checking).
getCRLs() - Method in class com.itextpdf.signatures.PdfPKCS7
Get the X.509 certificate revocation lists associated with this PKCS#7 object
getCRLsFromDSS() - Method in class com.itextpdf.signatures.LtvVerifier
Gets a list of X509CRL objects from a Document Security Store.
getCRLURL(X509Certificate) - Static method in class com.itextpdf.signatures.CertificateUtil
Gets the URL of the Certificate Revocation List for a Certificate
getDate() - Method in class com.itextpdf.signatures.PdfSignature
Gets the /M value.
getDigest(String) - Static method in class com.itextpdf.signatures.DigestAlgorithms
Gets the digest name for a certain id
getDigestAlgorithm() - Method in class com.itextpdf.signatures.PdfPKCS7
Get the algorithm used to calculate the message digest, e.g.
getDigestAlgorithmOid() - Method in class com.itextpdf.signatures.PdfPKCS7
Getter for the ID of the digest algorithm, e.g.
getDigestEncryptionAlgorithmOid() - Method in class com.itextpdf.signatures.PdfPKCS7
Getter for the digest encryption algorithm
getDocument() - Method in class com.itextpdf.signatures.PdfSigner
Gets the PdfDocument associated with this instance.
getEncoded(X509Certificate, String) - Method in class com.itextpdf.signatures.CrlClientOffline
Returns the CRL bytes (the parameters are ignored).
getEncoded(X509Certificate, String) - Method in class com.itextpdf.signatures.CrlClientOnline
Fetches the CRL bytes from an URL.
getEncoded(X509Certificate, String) - Method in interface com.itextpdf.signatures.ICrlClient
Gets an encoded byte array.
getEncoded(X509Certificate, X509Certificate, String) - Method in interface com.itextpdf.signatures.IOcspClient
Gets an encoded byte array with OCSP validation.
getEncoded(X509Certificate, X509Certificate, String) - Method in class com.itextpdf.signatures.OcspClientBouncyCastle
Gets an encoded byte array with OCSP validation.
getEncodedPKCS1() - Method in class com.itextpdf.signatures.PdfPKCS7
Gets the bytes for the PKCS#1 object.
getEncodedPKCS7() - Method in class com.itextpdf.signatures.PdfPKCS7
Gets the bytes for the PKCS7SignedData object.
getEncodedPKCS7(byte[]) - Method in class com.itextpdf.signatures.PdfPKCS7
Gets the bytes for the PKCS7SignedData object.
getEncodedPKCS7(byte[], ITSAClient, byte[], Collection<byte[]>, PdfSigner.CryptoStandard) - Method in class com.itextpdf.signatures.PdfPKCS7
getEncodedPKCS7(byte[], PdfSigner.CryptoStandard, ITSAClient, Collection<byte[]>, Collection<byte[]>) - Method in class com.itextpdf.signatures.PdfPKCS7
Gets the bytes for the PKCS7SignedData object.
getEncryptionAlgorithm() - Method in interface com.itextpdf.signatures.IExternalSignature
Returns the encryption algorithm used for signing.
getEncryptionAlgorithm() - Method in class com.itextpdf.signatures.PdfPKCS7
Returns the encryption algorithm
getEncryptionAlgorithm() - Method in class com.itextpdf.signatures.PrivateKeySignature
Returns the encryption algorithm used for signing.
getField(String) - Method in class com.itextpdf.signatures.CertificateInfo.X500Name
Gets the first entry from the field array retrieved from the values Map.
getFieldArray(String) - Method in class com.itextpdf.signatures.CertificateInfo.X500Name
Gets a field array from the values Map.
getFieldLockDict() - Method in class com.itextpdf.signatures.PdfSigner
Getter for the field lock dictionary.
getFieldLocks() - Method in class com.itextpdf.signatures.SignaturePermissions
Getter for the field lock actions, and fields that are impacted by the action
getFieldName() - Method in class com.itextpdf.signatures.PdfSigner
Gets the field name.
getFields() - Method in class com.itextpdf.signatures.CertificateInfo.X500Name
Getter for values.
getFields() - Method in class com.itextpdf.signatures.SignaturePermissions.FieldLock
Getter for the fields involved in the lock action.
getFilterSubtype() - Method in class com.itextpdf.signatures.PdfPKCS7
Returns the filter subtype.
getHashAlgorithm() - Method in interface com.itextpdf.signatures.IExternalSignature
Returns the hash algorithm.
getHashAlgorithm() - Method in class com.itextpdf.signatures.PdfPKCS7
Returns the name of the digest algorithm, e.g.
getHashAlgorithm() - Method in class com.itextpdf.signatures.PrivateKeySignature
Returns the hash algorithm.
getImage() - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Gets the background image for the layer 2.
getImageScale() - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Gets the scaling to be applied to the background image.
getIssuer(byte[]) - Static method in class com.itextpdf.signatures.CertificateInfo
Get the "issuer" from the TBSCertificate bytes that are passed in.
getIssuerFields(X509Certificate) - Static method in class com.itextpdf.signatures.CertificateInfo
Get the issuer fields from an X509 Certificate.
getLayer0() - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Get Layer 0 of the appearance.
getLayer2() - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Get Layer 2 of the appearance.
getLayer2Font() - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Gets the n2 and n4 layer font.
getLayer2FontColor() - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Gets the n2 and n4 layer font color.
getLayer2FontSize() - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Gets the n2 and n4 layer font size.
getLayer2Text() - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Gets the signature text identifying the signer if set by setLayer2Text().
getLocation() - Method in class com.itextpdf.signatures.PdfPKCS7
Getter for property location.
getLocation() - Method in class com.itextpdf.signatures.PdfSignature
Gets the /Location entry value.
getLocation() - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Returns the signing location.
getMessageDigest(String) - Method in class com.itextpdf.signatures.BouncyCastleDigest
 
getMessageDigest(String, String) - Static method in class com.itextpdf.signatures.DigestAlgorithms
Creates a MessageDigest object that can be used to create a hash.
getMessageDigest(String) - Method in interface com.itextpdf.signatures.IExternalDigest
Returns the MessageDigest associated with the provided hashing algorithm.
getMessageDigest() - Method in interface com.itextpdf.signatures.ITSAClient
Returns the MessageDigest to digest the data imprint
getMessageDigest(String) - Method in class com.itextpdf.signatures.ProviderDigest
 
getMessageDigest() - Method in class com.itextpdf.signatures.TSAClientBouncyCastle
Gets the MessageDigest to digest the data imprint
getMessageDigestFromOid(String, String) - Static method in class com.itextpdf.signatures.DigestAlgorithms
Get a digest algorithm.
getName() - Method in class com.itextpdf.signatures.PdfSignature
gets the /Name of the person signing the document.
getNewSigFieldName() - Method in class com.itextpdf.signatures.PdfSigner
Gets a new signature field name that doesn't clash with any existing name.
getOcsp() - Method in class com.itextpdf.signatures.PdfPKCS7
Gets the OCSP basic response if there is one.
getOcspResponse(X509Certificate, X509Certificate) - Method in class com.itextpdf.signatures.OCSPVerifier
Gets an OCSP response online and returns it if the status is GOOD (without further checking!).
getOCSPResponsesFromDSS() - Method in class com.itextpdf.signatures.LtvVerifier
Gets OCSP responses from the Document Security Store.
getOCSPURL(X509Certificate) - Static method in class com.itextpdf.signatures.CertificateUtil
Retrieves the OCSP URL from the given certificate.
getPageNumber() - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Provides the page number of the signature field which this signature appearance is associated with.
getPageRect() - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Provides the rectangle that represent the position and dimension of the signature field in the page.
getPolicyDigestAlgorithm() - Method in class com.itextpdf.signatures.SignaturePolicyInfo
 
getPolicyHash() - Method in class com.itextpdf.signatures.SignaturePolicyInfo
 
getPolicyIdentifier() - Method in class com.itextpdf.signatures.SignaturePolicyInfo
 
getPolicyUri() - Method in class com.itextpdf.signatures.SignaturePolicyInfo
 
getRangeStream() - Method in class com.itextpdf.signatures.PdfSigner
Gets the document bytes that are hashable when using external signatures.
getReason() - Method in class com.itextpdf.signatures.PdfPKCS7
Getter for property reason.
getReason() - Method in class com.itextpdf.signatures.PdfSignature
 
getReason() - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Returns the signing reason.
getRenderingMode() - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Gets the rendering mode for this signature.
getRevision(String) - Method in class com.itextpdf.signatures.SignatureUtil
 
getSignature(String) - Method in class com.itextpdf.signatures.SignatureUtil
 
getSignatureAppearance() - Method in class com.itextpdf.signatures.PdfSigner
Provides access to a signature appearance object.
getSignatureCreator() - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Returns the signature creator.
getSignatureDictionary() - Method in class com.itextpdf.signatures.PdfSigner
Returns the user made signature dictionary.
getSignatureDictionary(PdfSignature) - Method in interface com.itextpdf.signatures.PdfSigner.ISignatureEvent
Allows modification of the signature dictionary.
getSignatureDictionary(String) - Method in class com.itextpdf.signatures.SignatureUtil
Gets the signature dictionary, the one keyed by /V.
getSignatureEvent() - Method in class com.itextpdf.signatures.PdfSigner
Getter for property signatureEvent.
getSignatureGraphic() - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Gets the Image object to render.
getSignatureNames() - Method in class com.itextpdf.signatures.SignatureUtil
Gets the field names that have signatures and are signed.
getSignCertificateChain() - Method in class com.itextpdf.signatures.PdfPKCS7
Get the X.509 sign certificate chain associated with this PKCS#7 object.
getSignDate() - Method in class com.itextpdf.signatures.PdfPKCS7
Getter for property signDate.
getSignDate() - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Returns the signature date.
getSignDate() - Method in class com.itextpdf.signatures.PdfSigner
Gets the signature date.
getSigningCertificate() - Method in class com.itextpdf.signatures.PdfPKCS7
Get the X.509 certificate actually used to sign the digest.
getSigningInfoVersion() - Method in class com.itextpdf.signatures.PdfPKCS7
Get the version of the PKCS#7 "SignerInfo" object.
getSignName() - Method in class com.itextpdf.signatures.PdfPKCS7
Getter for property sigName.
getSubFilter() - Method in class com.itextpdf.signatures.PdfSignature
A name that describes the encoding of the signature value and key information in the signature dictionary.
getSubject(byte[]) - Static method in class com.itextpdf.signatures.CertificateInfo
Get the "subject" from the TBSCertificate bytes that are passed in.
getSubjectFields(X509Certificate) - Static method in class com.itextpdf.signatures.CertificateInfo
Get the subject fields from an X509 Certificate.
getTimeStampDate() - Method in class com.itextpdf.signatures.PdfPKCS7
Gets the timestamp date
getTimeStampToken(byte[]) - Method in interface com.itextpdf.signatures.ITSAClient
Returns RFC 3161 timeStampToken.
getTimeStampToken() - Method in class com.itextpdf.signatures.PdfPKCS7
Gets the timestamp token if there is one.
getTimeStampToken(byte[]) - Method in class com.itextpdf.signatures.TSAClientBouncyCastle
Get RFC 3161 timeStampToken.
getTokenSizeEstimate() - Method in interface com.itextpdf.signatures.ITSAClient
Get the time stamp estimated token size.
getTokenSizeEstimate() - Method in class com.itextpdf.signatures.TSAClientBouncyCastle
Get the token size estimate.
getTotalRevisions() - Method in class com.itextpdf.signatures.SignatureUtil
 
getTranslatedFieldName(String) - Method in class com.itextpdf.signatures.SignatureUtil
 
getTSAReqPolicy() - Method in class com.itextpdf.signatures.TSAClientBouncyCastle
Gets the TSA request policy that will be used when retrieving timestamp token.
getTSAResponse(byte[]) - Method in class com.itextpdf.signatures.TSAClientBouncyCastle
Get timestamp token - communications layer
getTSAURL(X509Certificate) - Static method in class com.itextpdf.signatures.CertificateUtil
Gets the URL of the TSA if it's available on the certificate
getType() - Method in class com.itextpdf.signatures.PdfSignature
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.
getUnderlyingSource() - Method in class com.itextpdf.signatures.PdfSigner
Returns the underlying source.
getUrlsSize() - Method in class com.itextpdf.signatures.CrlClientOnline
 
getVersion() - Method in class com.itextpdf.signatures.PdfPKCS7
Get the version of the PKCS#7 object.
getWidgetPageNumber(PdfWidgetAnnotation) - Method in class com.itextpdf.signatures.PdfSigner
Get the page number associated to the provided widget.
getWidgetRectangle(PdfWidgetAnnotation) - Method in class com.itextpdf.signatures.PdfSigner
Get the rectangle associated to the provided widget.
GIVENNAME - Static variable in class com.itextpdf.signatures.CertificateInfo.X500Name
Naming attribute of type X520name.

H

hasMoreTokens() - Method in class com.itextpdf.signatures.CertificateInfo.X509NameTokenizer
Checks if the tokenizer has any tokens left.

I

ICrlClient - Interface in com.itextpdf.signatures
Interface that needs to be implemented if you want to embed Certificate Revocation Lists (CRL) into your PDF.
ID_AA_SIGNING_CERTIFICATE_V1 - Static variable in class com.itextpdf.signatures.SecurityIDs
 
ID_AA_SIGNING_CERTIFICATE_V2 - Static variable in class com.itextpdf.signatures.SecurityIDs
 
ID_ADBE_REVOCATION - Static variable in class com.itextpdf.signatures.SecurityIDs
 
ID_CONTENT_TYPE - Static variable in class com.itextpdf.signatures.SecurityIDs
 
ID_DSA - Static variable in class com.itextpdf.signatures.SecurityIDs
 
ID_ECDSA - Static variable in class com.itextpdf.signatures.SecurityIDs
 
id_kp_OCSPSigning - Static variable in class com.itextpdf.signatures.OCSPVerifier
 
ID_KP_TIMESTAMPING - Static variable in class com.itextpdf.signatures.OID.X509Extensions
One of the OID.X509Extensions.EXTENDED_KEY_USAGE purposes from https://www.ietf.org/rfc/rfc2459.txt
ID_MESSAGE_DIGEST - Static variable in class com.itextpdf.signatures.SecurityIDs
 
ID_OCSP - Static variable in class com.itextpdf.signatures.SecurityIDs
 
ID_PKCS7_DATA - Static variable in class com.itextpdf.signatures.SecurityIDs
 
ID_PKCS7_SIGNED_DATA - Static variable in class com.itextpdf.signatures.SecurityIDs
 
ID_PKIX_OCSP_NOCHECK - Static variable in class com.itextpdf.signatures.OID.X509Extensions
Extension for OCSP responder certificate from https://www.ietf.org/rfc/rfc2560.txt.
ID_RSA - Static variable in class com.itextpdf.signatures.SecurityIDs
 
ID_SIGNING_TIME - Static variable in class com.itextpdf.signatures.SecurityIDs
 
ID_TSA - Static variable in class com.itextpdf.signatures.SecurityIDs
 
IExternalDigest - Interface in com.itextpdf.signatures
ExternalDigest allows the use of implementations of MessageDigest other than BouncyCastleDigest.
IExternalSignature - Interface in com.itextpdf.signatures
Interface that needs to be implemented to do the actual signing.
IExternalSignatureContainer - Interface in com.itextpdf.signatures
Interface to sign a document.
INHIBIT_ANY_POLICY - Static variable in class com.itextpdf.signatures.OID.X509Extensions
One of the standard extensions from https://tools.ietf.org/html/rfc5280
initDocument(PdfReader, PdfWriter, StampingProperties) - Method in class com.itextpdf.signatures.PdfSigner
 
INITIALS - Static variable in class com.itextpdf.signatures.CertificateInfo.X500Name
Naming attribute of type X520name.
initLtvVerifier(PdfDocument) - Method in class com.itextpdf.signatures.LtvVerifier
 
inspectTimeStampTokenInfo(TimeStampTokenInfo) - Method in interface com.itextpdf.signatures.ITSAInfoBouncyCastle
When a timestamp is created using TSAClientBouncyCastle, this method is triggered passing an object that contains info about the timestamp and the time stamping authority.
IOcspClient - Interface in com.itextpdf.signatures
Interface for the Online Certificate Status Protocol (OCSP) Client.
isAnnotationsAllowed() - Method in class com.itextpdf.signatures.SignaturePermissions
Getter to find out if adding annotations is allowed after signing.
isCertification() - Method in class com.itextpdf.signatures.SignaturePermissions
Getter to find out if the signature is a certification signature.
isFillInAllowed() - Method in class com.itextpdf.signatures.SignaturePermissions
Getter to find out if filling out fields is allowed after signing.
isInvisible() - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Gets the visibility status of the signature.
isPreClosed() - Method in class com.itextpdf.signatures.PdfSigner
Checks if the document is in the process of closing.
isRevocationValid() - Method in class com.itextpdf.signatures.PdfPKCS7
Checks if OCSP revocation refers to the document signing certificate.
isSignatureValid(X509CRL, X509Certificate) - Method in class com.itextpdf.signatures.CRLVerifier
Checks if a CRL verifies against the issuer certificate or a trusted anchor.
isSignatureValid(BasicOCSPResp, Certificate) - Method in class com.itextpdf.signatures.OCSPVerifier
Checks if an OCSP response is genuine
ISSUER_ALTERNATIVE_NAME - Static variable in class com.itextpdf.signatures.OID.X509Extensions
One of the standard extensions from https://tools.ietf.org/html/rfc5280
isTsp() - Method in class com.itextpdf.signatures.PdfPKCS7
Check if it's a PAdES-LTV time stamp.
isValidResponse(BasicOCSPResp, X509Certificate) - Method in class com.itextpdf.signatures.OCSPVerifier
Deprecated.
isValidResponse(BasicOCSPResp, X509Certificate, Date) - Method in class com.itextpdf.signatures.OCSPVerifier
Verifies if an OCSP response is genuine If it doesn't verify against the issuer certificate and response's certificates, it may verify using a trusted anchor or cert.
isWrappedObjectMustBeIndirect() - Method in class com.itextpdf.signatures.PdfSignature
 
isWrappedObjectMustBeIndirect() - Method in class com.itextpdf.signatures.PdfSignatureApp
 
isWrappedObjectMustBeIndirect() - Method in class com.itextpdf.signatures.PdfSignatureBuildProperties
 
ITSAClient - Interface in com.itextpdf.signatures
Time Stamp Authority client (caller) interface.
ITSAInfoBouncyCastle - Interface in com.itextpdf.signatures
Interface you can implement and pass to TSAClientBouncyCastle in case you want to do something with the information returned

K

KEY_USAGE - Static variable in class com.itextpdf.signatures.OID.X509Extensions
One of the standard extensions from https://tools.ietf.org/html/rfc5280
KeyStoreUtil - Class in com.itextpdf.signatures
Utility class with some KeyStore related methods.
KeyStoreUtil() - Constructor for class com.itextpdf.signatures.KeyStoreUtil
 

L

L - Static variable in class com.itextpdf.signatures.CertificateInfo.X500Name
Locality name - StringType(SIZE(1..64)).
latestRevision - Variable in class com.itextpdf.signatures.LtvVerifier
Indicates if we're working with the latest revision.
loadCacertsKeyStore(String) - Static method in class com.itextpdf.signatures.KeyStoreUtil
Loads the default root certificates at <java.home>/lib/security/cacerts.
loadCacertsKeyStore() - Static method in class com.itextpdf.signatures.KeyStoreUtil
Loads the default root certificates at <java.home>/lib/security/cacerts with the default provider.
LOGGER - Static variable in class com.itextpdf.signatures.CRLVerifier
The Logger instance
LOGGER - Static variable in class com.itextpdf.signatures.LtvVerifier
The Logger instance
LOGGER - Static variable in class com.itextpdf.signatures.OCSPVerifier
The Logger instance
LtvVerification - Class in com.itextpdf.signatures
Add verification according to PAdES-LTV (part 4).
LtvVerification(PdfDocument) - Constructor for class com.itextpdf.signatures.LtvVerification
The verification constructor.
LtvVerification(PdfDocument, String) - Constructor for class com.itextpdf.signatures.LtvVerification
The verification constructor.
LtvVerification.CertificateInclusion - Enum in com.itextpdf.signatures
Certificate inclusion in the DSS and VRI dictionaries in the CERT and CERTS keys.
LtvVerification.CertificateOption - Enum in com.itextpdf.signatures
Options for how many certificates to include.
LtvVerification.Level - Enum in com.itextpdf.signatures
What type of verification to include.
LtvVerifier - Class in com.itextpdf.signatures
Verifies the signatures in an LTV document.
LtvVerifier(PdfDocument) - Constructor for class com.itextpdf.signatures.LtvVerifier
Creates a VerificationData object for a PdfReader
LtvVerifier(PdfDocument, String) - Constructor for class com.itextpdf.signatures.LtvVerifier
 

M

merge() - Method in class com.itextpdf.signatures.LtvVerification
Merges the validation with any validation already in the document or creates a new one.
message - Variable in class com.itextpdf.signatures.VerificationOK
The reason why the certificate verified successfully.
metaInfo - Variable in class com.itextpdf.signatures.LtvVerifier
The meta info
modifySigningDictionary(PdfDictionary) - Method in class com.itextpdf.signatures.ExternalBlankSignatureContainer
 
modifySigningDictionary(PdfDictionary) - Method in interface com.itextpdf.signatures.IExternalSignatureContainer
Modifies the signature dictionary to suit the container.

N

NAME_CONSTRAINTS - Static variable in class com.itextpdf.signatures.OID.X509Extensions
One of the standard extensions from https://tools.ietf.org/html/rfc5280
nextToken() - Method in class com.itextpdf.signatures.CertificateInfo.X509NameTokenizer
Returns the next token.
normalizeDigestName(String) - Static method in class com.itextpdf.signatures.DigestAlgorithms
Normalize the digest name.
NOT_CERTIFIED - Static variable in class com.itextpdf.signatures.PdfSigner
Approval signature.

O

O - Static variable in class com.itextpdf.signatures.CertificateInfo.X500Name
Organization - StringType(SIZE(1..64)).
OcspClientBouncyCastle - Class in com.itextpdf.signatures
OcspClient implementation using BouncyCastle.
OcspClientBouncyCastle(OCSPVerifier) - Constructor for class com.itextpdf.signatures.OcspClientBouncyCastle
Create OcspClient
ocsps - Variable in class com.itextpdf.signatures.OCSPVerifier
The list of OCSP responses.
OCSPVerifier - Class in com.itextpdf.signatures
Class that allows you to verify a certificate against one or more OCSP responses.
OCSPVerifier(CertificateVerifier, List<BasicOCSPResp>) - Constructor for class com.itextpdf.signatures.OCSPVerifier
Creates an OCSPVerifier instance.
OID - Class in com.itextpdf.signatures
Class containing all the OID values used by iText.
OID.X509Extensions - Class in com.itextpdf.signatures
Contains all OIDs used by iText in the context of Certificate Extensions.
onlineCheckingAllowed - Variable in class com.itextpdf.signatures.CertificateVerifier
Indicates if going online to verify a certificate is allowed.
option - Variable in class com.itextpdf.signatures.LtvVerifier
Option to specify level of verification; signing certificate only or the entire chain.
originalOS - Variable in class com.itextpdf.signatures.PdfSigner
OutputStream for the bytes of the document.
OU - Static variable in class com.itextpdf.signatures.CertificateInfo.X500Name
Organizational unit name - StringType(SIZE(1..64)).

P

PdfPKCS7 - Class in com.itextpdf.signatures
This class does all the processing related to signing and verifying a PKCS#7 signature.
PdfPKCS7(PrivateKey, Certificate[], String, String, IExternalDigest, boolean) - Constructor for class com.itextpdf.signatures.PdfPKCS7
Assembles all the elements needed to create a signature, except for the data.
PdfPKCS7(byte[], byte[], String) - Constructor for class com.itextpdf.signatures.PdfPKCS7
Use this constructor if you want to verify a signature using the sub-filter adbe.x509.rsa_sha1.
PdfPKCS7(byte[], PdfName, String) - Constructor for class com.itextpdf.signatures.PdfPKCS7
Use this constructor if you want to verify a signature.
PdfSignature - Class in com.itextpdf.signatures
Represents the signature dictionary.
PdfSignature() - Constructor for class com.itextpdf.signatures.PdfSignature
Creates new PdfSignature.
PdfSignature(PdfName, PdfName) - Constructor for class com.itextpdf.signatures.PdfSignature
Creates new PdfSignature.
PdfSignature(PdfDictionary) - Constructor for class com.itextpdf.signatures.PdfSignature
 
PdfSignatureApp - Class in com.itextpdf.signatures
A dictionary that stores the name of the application that signs the PDF.
PdfSignatureApp() - Constructor for class com.itextpdf.signatures.PdfSignatureApp
Creates a new PdfSignatureApp
PdfSignatureApp(PdfDictionary) - Constructor for class com.itextpdf.signatures.PdfSignatureApp
Creates a new PdfSignatureApp.
PdfSignatureAppearance - Class in com.itextpdf.signatures
Provides convenient methods to make a signature appearance.
PdfSignatureAppearance(PdfDocument, Rectangle, int) - Constructor for class com.itextpdf.signatures.PdfSignatureAppearance
Creates a PdfSignatureAppearance.
PdfSignatureAppearance.RenderingMode - Enum in com.itextpdf.signatures
Signature rendering modes.
PdfSignatureBuildProperties - Class in com.itextpdf.signatures
Dictionary that stores signature build properties.
PdfSignatureBuildProperties() - Constructor for class com.itextpdf.signatures.PdfSignatureBuildProperties
Creates new PdfSignatureBuildProperties.
PdfSignatureBuildProperties(PdfDictionary) - Constructor for class com.itextpdf.signatures.PdfSignatureBuildProperties
Creates new PdfSignatureBuildProperties with preset values.
PdfSigner - Class in com.itextpdf.signatures
Takes care of the cryptographic options and appearances that form a signature.
PdfSigner(PdfReader, OutputStream, boolean) - Constructor for class com.itextpdf.signatures.PdfSigner
Deprecated.
will be removed in next major release. Use PdfSigner.PdfSigner(PdfReader, OutputStream, StampingProperties) instead.
PdfSigner(PdfReader, OutputStream, String, boolean) - Constructor for class com.itextpdf.signatures.PdfSigner
Deprecated.
will be removed in next major release. Use PdfSigner.PdfSigner(PdfReader, OutputStream, String, StampingProperties) instead.
PdfSigner(PdfReader, OutputStream, StampingProperties) - Constructor for class com.itextpdf.signatures.PdfSigner
Creates a PdfSigner instance.
PdfSigner(PdfReader, OutputStream, String, StampingProperties) - Constructor for class com.itextpdf.signatures.PdfSigner
Creates a PdfSigner instance.
PdfSigner.CryptoStandard - Enum in com.itextpdf.signatures
Enum containing the Cryptographic Standards.
PdfSigner.ISignatureEvent - Interface in com.itextpdf.signatures
An interface to retrieve the signature dictionary for modification.
pkcs7 - Variable in class com.itextpdf.signatures.LtvVerifier
The PdfPKCS7 object for the signature.
POLICY_CONSTRAINTS - Static variable in class com.itextpdf.signatures.OID.X509Extensions
One of the standard extensions from https://tools.ietf.org/html/rfc5280
POLICY_MAPPINGS - Static variable in class com.itextpdf.signatures.OID.X509Extensions
One of the standard extensions from https://tools.ietf.org/html/rfc5280
preClose(Map<PdfName, Integer>) - Method in class com.itextpdf.signatures.PdfSigner
This is the first method to be called when using external signatures.
preClosed - Variable in class com.itextpdf.signatures.PdfSigner
Indicates if the pdf document has already been pre-closed.
PrivateKeySignature - Class in com.itextpdf.signatures
Implementation of the IExternalSignature interface that can be used when you have a PrivateKey object.
PrivateKeySignature(PrivateKey, String, String) - Constructor for class com.itextpdf.signatures.PrivateKeySignature
Creates a PrivateKeySignature instance.
processCrl(Certificate, Collection<ICrlClient>) - Method in class com.itextpdf.signatures.PdfSigner
Processes a CRL list.
ProviderDigest - Class in com.itextpdf.signatures
This class will return the MessageDigest associated with a certain hashing algorithm returned by the specified provider.
ProviderDigest(String) - Constructor for class com.itextpdf.signatures.ProviderDigest
Creates a ProviderDigest.
put(PdfName, PdfObject) - Method in class com.itextpdf.signatures.PdfSignature
 

R

raf - Variable in class com.itextpdf.signatures.PdfSigner
The file right before the signature is added (can be null).
range - Variable in class com.itextpdf.signatures.PdfSigner
Array containing the byte positions of the bytes that need to be hashed.
readSignatureData(String) - Method in class com.itextpdf.signatures.SignatureUtil
Prepares an PdfPKCS7 instance for the given signature.
readSignatureData(String, String) - Method in class com.itextpdf.signatures.SignatureUtil
Prepares an PdfPKCS7 instance for the given signature.
RIPEMD160 - Static variable in class com.itextpdf.signatures.DigestAlgorithms
Algorithm available for signatures since PDF 1.7.
rootStore - Variable in class com.itextpdf.signatures.RootStoreVerifier
A key store against which certificates can be verified.
RootStoreVerifier - Class in com.itextpdf.signatures
Verifies a certificate against a KeyStore containing trusted anchors.
RootStoreVerifier(CertificateVerifier) - Constructor for class com.itextpdf.signatures.RootStoreVerifier
Creates a RootStoreVerifier in a chain of verifiers.

S

SecurityIDs - Class in com.itextpdf.signatures
A list of IDs that are used by the security classes
SecurityIDs() - Constructor for class com.itextpdf.signatures.SecurityIDs
 
securityProviderCode - Variable in class com.itextpdf.signatures.LtvVerifier
Security provider to use, use null for default
setByteRange(int[]) - Method in class com.itextpdf.signatures.PdfSignature
Sets the /ByteRange.
setCert(byte[]) - Method in class com.itextpdf.signatures.PdfSignature
Sets the /Cert value of this signature.
setCertificate(Certificate) - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Sets the certificate used to provide the text in the appearance.
setCertificateOption(LtvVerification.CertificateOption) - Method in class com.itextpdf.signatures.LtvVerifier
Sets the certificate option.
setCertificationLevel(int) - Method in class com.itextpdf.signatures.PdfSigner
Sets the document's certification level.
setContact(String) - Method in class com.itextpdf.signatures.PdfSignature
Sets the /ContactInfo value.
setContact(String) - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Sets the signing contact.
setContents(byte[]) - Method in class com.itextpdf.signatures.PdfSignature
Sets the /Contents value to the specified byte[].
setDate(PdfDate) - Method in class com.itextpdf.signatures.PdfSignature
Sets the /M value.
setDocument(PdfDocument) - Method in class com.itextpdf.signatures.PdfSigner
Sets the PdfDocument.
setEventCountingMetaInfo(IMetaInfo) - Method in class com.itextpdf.signatures.LtvVerifier
Sets the IMetaInfo that will be used during PdfDocument creation.
setExternalDigest(byte[], byte[], String) - Method in class com.itextpdf.signatures.PdfPKCS7
Sets the digest/signature to an external calculated value.
setFieldLockDict(PdfSigFieldLock) - Method in class com.itextpdf.signatures.PdfSigner
Setter for the field lock dictionary.
setFieldName(String) - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Set the field name of the appearance.
setFieldName(String) - Method in class com.itextpdf.signatures.PdfSigner
Sets the name indicating the field to be signed.
setImage(ImageData) - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Sets the background image for the layer 2.
setImageScale(float) - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Sets the scaling to be applied to the background image.
setLayer2Font(PdfFont) - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Sets the n2 and n4 layer font.
setLayer2FontColor(Color) - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Sets the n2 and n4 layer font color.
setLayer2FontSize(float) - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Sets the n2 and n4 layer font size.
setLayer2Text(String) - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Sets the signature text identifying the signer.
setLocation(String) - Method in class com.itextpdf.signatures.PdfPKCS7
Setter for property location.
setLocation(String) - Method in class com.itextpdf.signatures.PdfSignature
Sets the /Location value.
setLocation(String) - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Sets the signing location.
setLocationCaption(String) - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Sets the caption for the signing location.
setName(String) - Method in class com.itextpdf.signatures.PdfSignature
Sets the /Name of the person signing the document.
setOnlineCheckingAllowed(boolean) - Method in class com.itextpdf.signatures.CertificateVerifier
Decide whether or not online checking is allowed.
setOriginalOutputStream(OutputStream) - Method in class com.itextpdf.signatures.PdfSigner
Setter for the OutputStream.
setPageNumber(int) - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Sets the page number of the signature field which this signature appearance is associated with.
setPageRect(Rectangle) - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Sets the rectangle that represent the position and dimension of the signature field in the page.
setReason(String) - Method in class com.itextpdf.signatures.PdfPKCS7
Setter for property reason.
setReason(String) - Method in class com.itextpdf.signatures.PdfSignature
Sets the /Reason value.
setReason(String) - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Sets the signing reason.
setReasonCaption(String) - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Sets the caption for the signing reason.
setRenderingMode(PdfSignatureAppearance.RenderingMode) - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Sets the rendering mode for this signature.
setReuseAppearance(boolean) - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Indicates that the existing appearances needs to be reused as layer 0.
setRootStore(KeyStore) - Method in class com.itextpdf.signatures.RootStoreVerifier
Sets the Key Store against which a certificate can be checked.
setSignatureCreator(String) - Method in class com.itextpdf.signatures.PdfSignature
Sets the signature creator name in the PdfSignatureBuildProperties dictionary.
setSignatureCreator(String) - Method in class com.itextpdf.signatures.PdfSignatureApp
Sets the signature created property in the Prop_Build dictionary's App dictionary.
setSignatureCreator(String) - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Sets the name of the application used to create the signature.
setSignatureCreator(String) - Method in class com.itextpdf.signatures.PdfSignatureBuildProperties
Sets the signatureCreator property in the underlying PdfSignatureApp dictionary.
setSignatureEvent(PdfSigner.ISignatureEvent) - Method in class com.itextpdf.signatures.PdfSigner
Sets the signature event to allow modification of the signature dictionary.
setSignatureGraphic(ImageData) - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Sets the Image object to render when Render is set to RenderingMode.GRAPHIC or RenderingMode.GRAPHIC_AND_DESCRIPTION.
setSignaturePolicy(SignaturePolicyInfo) - Method in class com.itextpdf.signatures.PdfPKCS7
 
setSignaturePolicy(SignaturePolicyIdentifier) - Method in class com.itextpdf.signatures.PdfPKCS7
 
setSignDate(Calendar) - Method in class com.itextpdf.signatures.PdfPKCS7
Setter for property signDate.
setSignDate(Calendar) - Method in class com.itextpdf.signatures.PdfSignatureAppearance
Sets the signature date.
setSignDate(Calendar) - Method in class com.itextpdf.signatures.PdfSigner
Sets the signature date.
setSignName(String) - Method in class com.itextpdf.signatures.PdfPKCS7
Setter for property sigName.
setTSAInfo(ITSAInfoBouncyCastle) - Method in class com.itextpdf.signatures.TSAClientBouncyCastle
 
setTSAReqPolicy(String) - Method in class com.itextpdf.signatures.TSAClientBouncyCastle
Sets the TSA request policy that will be used when retrieving timestamp token.
setVerifier(CertificateVerifier) - Method in class com.itextpdf.signatures.LtvVerifier
Sets an extra verifier.
setVerifyRootCertificate(boolean) - Method in class com.itextpdf.signatures.LtvVerifier
Set the verifyRootCertificate to false if you can't verify the root certificate.
SHA1 - Static variable in class com.itextpdf.signatures.DigestAlgorithms
Algorithm available for signatures since PDF 1.3.
SHA256 - Static variable in class com.itextpdf.signatures.DigestAlgorithms
Algorithm available for signatures since PDF 1.6.
SHA384 - Static variable in class com.itextpdf.signatures.DigestAlgorithms
Algorithm available for signatures since PDF 1.7.
SHA512 - Static variable in class com.itextpdf.signatures.DigestAlgorithms
Algorithm available for signatures since PDF 1.7.
sign(InputStream) - Method in class com.itextpdf.signatures.ExternalBlankSignatureContainer
 
sign(byte[]) - Method in interface com.itextpdf.signatures.IExternalSignature
Signs the given message using the encryption algorithm in combination with the hash algorithm.
sign(InputStream) - Method in interface com.itextpdf.signatures.IExternalSignatureContainer
Produces the container with the signature.
sign(byte[]) - Method in class com.itextpdf.signatures.PrivateKeySignature
Signs the given message using the encryption algorithm in combination with the hash algorithm.
signatureCoversWholeDocument(String) - Method in class com.itextpdf.signatures.SignatureUtil
Checks if the signature covers the entire document (except for signature's Contents) or just a part of it.
signatureEvent - Variable in class com.itextpdf.signatures.PdfSigner
Holds value of property signatureEvent.
signatureName - Variable in class com.itextpdf.signatures.LtvVerifier
The signature that covers the revision.
SignaturePermissions - Class in com.itextpdf.signatures
A helper class that tells you more about the type of signature (certification or approval) and the signature's DMP settings.
SignaturePermissions(PdfDictionary, SignaturePermissions) - Constructor for class com.itextpdf.signatures.SignaturePermissions
Creates an object that can inform you about the type of signature in a signature dictionary as well as some of the permissions defined by the signature.
SignaturePermissions.FieldLock - Class in com.itextpdf.signatures
Class that contains a field lock action and an array of the fields that are involved.
SignaturePolicyInfo - Class in com.itextpdf.signatures
Class that encapsulates the signature policy information Sample: SignaturePolicyInfo spi = new SignaturePolicyInfo("2.16.724.1.3.1.1.2.1.9", "G7roucf600+f03r/o0bAOQ6WAs0=", "SHA-1", "https://sede.060.gob.es/politica_de_firma_anexo_1.pdf");
SignaturePolicyInfo(String, byte[], String, String) - Constructor for class com.itextpdf.signatures.SignaturePolicyInfo
Constructs a new SignaturePolicyInfo instance
SignaturePolicyInfo(String, String, String, String) - Constructor for class com.itextpdf.signatures.SignaturePolicyInfo
Constructs a new SignaturePolicyInfo instance
SignatureUtil - Class in com.itextpdf.signatures
Utility class that provides several convenience methods concerning digital signatures.
SignatureUtil(PdfDocument) - Constructor for class com.itextpdf.signatures.SignatureUtil
Creates a SignatureUtil instance.
signDate - Variable in class com.itextpdf.signatures.LtvVerifier
The date the revision was signed, or null for the highest revision.
signDate - Variable in class com.itextpdf.signatures.PdfSigner
Holds value of property signDate.
signDeferred(PdfDocument, String, OutputStream, IExternalSignatureContainer) - Static method in class com.itextpdf.signatures.PdfSigner
Signs a PDF where space was already reserved.
signDetached(IExternalDigest, IExternalSignature, Certificate[], Collection<ICrlClient>, IOcspClient, ITSAClient, int, PdfSigner.CryptoStandard) - Method in class com.itextpdf.signatures.PdfSigner
Signs the document using the detached mode, CMS or CAdES equivalent.
signDetached(IExternalDigest, IExternalSignature, Certificate[], Collection<ICrlClient>, IOcspClient, ITSAClient, int, PdfSigner.CryptoStandard, SignaturePolicyInfo) - Method in class com.itextpdf.signatures.PdfSigner
Signs the document using the detached mode, CMS or CAdES equivalent.
signDetached(IExternalDigest, IExternalSignature, Certificate[], Collection<ICrlClient>, IOcspClient, ITSAClient, int, PdfSigner.CryptoStandard, SignaturePolicyIdentifier) - Method in class com.itextpdf.signatures.PdfSigner
Signs the document using the detached mode, CMS or CAdES equivalent.
signExternalContainer(IExternalSignatureContainer, int) - Method in class com.itextpdf.signatures.PdfSigner
Sign the document using an external container, usually a PKCS7.
SN - Static variable in class com.itextpdf.signatures.CertificateInfo.X500Name
Device serial number name - StringType(SIZE(1..64)).
ST - Static variable in class com.itextpdf.signatures.CertificateInfo.X500Name
State, or province name - StringType(SIZE(1..64)).
SUBJECT_ALTERNATIVE_NAME - Static variable in class com.itextpdf.signatures.OID.X509Extensions
One of the standard extensions from https://tools.ietf.org/html/rfc5280
SUBJECT_DIRECTORY_ATTRIBUTES - Static variable in class com.itextpdf.signatures.OID.X509Extensions
One of the standard extensions from https://tools.ietf.org/html/rfc5280
SUBJECT_INFO_ACCESS - Static variable in class com.itextpdf.signatures.OID.X509Extensions
One of the Internet Certificate Extensions also from https://tools.ietf.org/html/rfc5280
SUBJECT_KEY_IDENTIFIER - Static variable in class com.itextpdf.signatures.OID.X509Extensions
One of the standard extensions from https://tools.ietf.org/html/rfc5280
SUPPORTED_CRITICAL_EXTENSIONS - Static variable in class com.itextpdf.signatures.OID.X509Extensions
According to https://tools.ietf.org/html/rfc5280 4.2.
SURNAME - Static variable in class com.itextpdf.signatures.CertificateInfo.X500Name
Naming attribute of type X520name.
switchToPreviousRevision() - Method in class com.itextpdf.signatures.LtvVerifier
Switches to the previous revision.

T

T - Static variable in class com.itextpdf.signatures.CertificateInfo.X500Name
Title.
tempFile - Variable in class com.itextpdf.signatures.PdfSigner
Tempfile to hold the output temporarily.
temporaryOS - Variable in class com.itextpdf.signatures.PdfSigner
Outputstream that temporarily holds the output in memory.
timestamp(ITSAClient, String) - Method in class com.itextpdf.signatures.PdfSigner
Signs a document with a PAdES-LTV Timestamp.
tokenSizeEstimate - Variable in class com.itextpdf.signatures.TSAClientBouncyCastle
Estimate of the received time stamp token
toString() - Method in class com.itextpdf.signatures.CertificateInfo.X500Name
 
toString() - Method in class com.itextpdf.signatures.SignaturePermissions.FieldLock
toString method
toString() - Method in class com.itextpdf.signatures.VerificationOK
Return a single String explaining which certificate was verified, how and why.
TSAClientBouncyCastle - Class in com.itextpdf.signatures
Time Stamp Authority Client interface implementation using Bouncy Castle org.bouncycastle.tsp package.
TSAClientBouncyCastle(String) - Constructor for class com.itextpdf.signatures.TSAClientBouncyCastle
Creates an instance of a TSAClient that will use BouncyCastle.
TSAClientBouncyCastle(String, String, String) - Constructor for class com.itextpdf.signatures.TSAClientBouncyCastle
Creates an instance of a TSAClient that will use BouncyCastle.
TSAClientBouncyCastle(String, String, String, int, String) - Constructor for class com.itextpdf.signatures.TSAClientBouncyCastle
Constructor.
tsaInfo - Variable in class com.itextpdf.signatures.TSAClientBouncyCastle
An interface that allows you to inspect the timestamp info.
tsaPassword - Variable in class com.itextpdf.signatures.TSAClientBouncyCastle
TSA password
tsaURL - Variable in class com.itextpdf.signatures.TSAClientBouncyCastle
URL of the Time Stamp Authority
tsaUsername - Variable in class com.itextpdf.signatures.TSAClientBouncyCastle
TSA Username

U

UID - Static variable in class com.itextpdf.signatures.CertificateInfo.X500Name
LDAP User id.
UNIQUE_IDENTIFIER - Static variable in class com.itextpdf.signatures.CertificateInfo.X500Name
Naming attribute of type X520name.
update(byte[], int, int) - Method in class com.itextpdf.signatures.PdfPKCS7
Update the digest with the specified bytes.
urls - Variable in class com.itextpdf.signatures.CrlClientOnline
The URLs of the CRLs.

V

valueOf(String) - Static method in enum com.itextpdf.signatures.LtvVerification.CertificateInclusion
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.itextpdf.signatures.LtvVerification.CertificateOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.itextpdf.signatures.LtvVerification.Level
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.itextpdf.signatures.PdfSignatureAppearance.RenderingMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.itextpdf.signatures.PdfSigner.CryptoStandard
Returns the enum constant of this type with the specified name.
values - Variable in class com.itextpdf.signatures.CertificateInfo.X500Name
A Map with values.
values() - Static method in enum com.itextpdf.signatures.LtvVerification.CertificateInclusion
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.itextpdf.signatures.LtvVerification.CertificateOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.itextpdf.signatures.LtvVerification.Level
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.itextpdf.signatures.PdfSignatureAppearance.RenderingMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.itextpdf.signatures.PdfSigner.CryptoStandard
Returns an array containing the constants of this enum type, in the order they are declared.
VerificationException - Exception in com.itextpdf.signatures
An exception that is thrown when something is wrong with a certificate.
VerificationException(Certificate, String) - Constructor for exception com.itextpdf.signatures.VerificationException
Creates a VerificationException
VerificationOK - Class in com.itextpdf.signatures
Class that informs you that the verification of a Certificate succeeded using a specific CertificateVerifier and for a specific reason.
VerificationOK(X509Certificate, Class<? extends CertificateVerifier>, String) - Constructor for class com.itextpdf.signatures.VerificationOK
Creates a VerificationOK object
verifier - Variable in class com.itextpdf.signatures.CertificateVerifier
The previous CertificateVerifier in the chain of verifiers.
verifierClass - Variable in class com.itextpdf.signatures.VerificationOK
The CertificateVerifier that was used for verifying.
verify(X509Certificate, X509Certificate, Date) - Method in class com.itextpdf.signatures.CertificateVerifier
Checks the validity of the certificate, and calls the next verifier in the chain, if any.
verify(X509Certificate, X509Certificate, Date) - Method in class com.itextpdf.signatures.CRLVerifier
Verifies if a a valid CRL is found for the certificate.
verify(X509CRL, X509Certificate, X509Certificate, Date) - Method in class com.itextpdf.signatures.CRLVerifier
Verifies a certificate against a single CRL.
verify(List<VerificationOK>) - Method in class com.itextpdf.signatures.LtvVerifier
Verifies all the document-level timestamps and all the signatures in the document.
verify(X509Certificate, X509Certificate, Date) - Method in class com.itextpdf.signatures.LtvVerifier
Verifies certificates against a list of CRLs and OCSP responses.
verify(X509Certificate, X509Certificate, Date) - Method in class com.itextpdf.signatures.OCSPVerifier
Verifies if a a valid OCSP response is found for the certificate.
verify(BasicOCSPResp, X509Certificate, X509Certificate, Date) - Method in class com.itextpdf.signatures.OCSPVerifier
Verifies a certificate against a single OCSP response
verify() - Method in class com.itextpdf.signatures.PdfPKCS7
Deprecated.
This method will be removed in future versions. Please use PdfPKCS7.verifySignatureIntegrityAndAuthenticity() instead.
verify(X509Certificate, X509Certificate, Date) - Method in class com.itextpdf.signatures.RootStoreVerifier
Verifies a single certificate against a key store (if present).
verifyCertificate(X509Certificate, Collection<CRL>) - Static method in class com.itextpdf.signatures.CertificateVerification
Verifies a single certificate for the current date.
verifyCertificate(X509Certificate, Collection<CRL>, Calendar) - Static method in class com.itextpdf.signatures.CertificateVerification
Verifies a single certificate.
verifyCertificates(Certificate[], KeyStore, Collection<CRL>) - Static method in class com.itextpdf.signatures.CertificateVerification
Verifies a certificate chain against a KeyStore for the current date.
verifyCertificates(Certificate[], KeyStore, Collection<CRL>, Calendar) - Static method in class com.itextpdf.signatures.CertificateVerification
Verifies a certificate chain against a KeyStore.
verifyCertificates(Certificate[], KeyStore) - Static method in class com.itextpdf.signatures.CertificateVerification
Verifies a certificate chain against a KeyStore for the current date.
verifyCertificates(Certificate[], KeyStore, Calendar) - Static method in class com.itextpdf.signatures.CertificateVerification
Verifies a certificate chain against a KeyStore.
verifyChain(Certificate[]) - Method in class com.itextpdf.signatures.LtvVerifier
Checks the certificates in a certificate chain: are they valid on a specific date, and do they chain up correctly?
verifyOcspCertificates(BasicOCSPResp, KeyStore, String) - Static method in class com.itextpdf.signatures.CertificateVerification
Verifies an OCSP response against a KeyStore.
verifyRootCertificate - Variable in class com.itextpdf.signatures.LtvVerifier
Verify root.
verifySignature() - Method in class com.itextpdf.signatures.LtvVerifier
Verifies a document level timestamp.
verifySignature(String) - Method in class com.itextpdf.signatures.SignatureUtil
Deprecated.
This method is deprecated and will be removed in future versions. Please use SignatureUtil.readSignatureData(String) instead.
verifySignature(String, String) - Method in class com.itextpdf.signatures.SignatureUtil
Deprecated.
This method is deprecated and will be removed in future versions. Please use SignatureUtil.readSignatureData(String, String) instead.
verifySignatureIntegrityAndAuthenticity() - Method in class com.itextpdf.signatures.PdfPKCS7
Verifies that signature integrity is intact (or in other words that signed data wasn't modified) by checking that embedded data digest corresponds to the calculated one.
verifyTimestampCertificates(TimeStampToken, KeyStore, String) - Static method in class com.itextpdf.signatures.CertificateVerification
Verifies a time stamp against a KeyStore.
verifyTimestampImprint() - Method in class com.itextpdf.signatures.PdfPKCS7
Checks if the timestamp refers to this document.

X

X500Name(ASN1Sequence) - Constructor for class com.itextpdf.signatures.CertificateInfo.X500Name
Constructs an X509 name.
X500Name(String) - Constructor for class com.itextpdf.signatures.CertificateInfo.X500Name
Constructs an X509 name.
X509Extensions() - Constructor for class com.itextpdf.signatures.OID.X509Extensions
 
X509NameTokenizer(String) - Constructor for class com.itextpdf.signatures.CertificateInfo.X509NameTokenizer
Creates an X509NameTokenizer.
A B C D E F G H I K L M N O P R S T U V X 
Skip navigation links

Copyright © 1998–2019 iText Group NV. All rights reserved.