Uses of Interface
com.itextpdf.signatures.IExternalDigest
Packages that use IExternalDigest
-
Uses of IExternalDigest in com.itextpdf.signatures
Classes in com.itextpdf.signatures that implement IExternalDigestModifier and TypeClassDescriptionclass
Implementation for digests accessed directly from the BouncyCastle library bypassing any provider definition.class
This class will return theMessageDigest
associated with a certain hashing algorithm returned by the specified provider.Methods in com.itextpdf.signatures with parameters of type IExternalDigestModifier and TypeMethodDescriptionstatic byte[]
DigestAlgorithms.digest
(InputStream data, String hashAlgorithm, IExternalDigest externalDigest) Create a digest based on the inputstream.PdfPadesSigner.setExternalDigest
(IExternalDigest externalDigest) SetIExternalDigest
to be used for main signing operation.PdfTwoPhaseSigner.setExternalDigest
(IExternalDigest externalDigest) Use the external digest to inject specific digest implementationsvoid
PdfSigner.signDetached
(IExternalDigest externalDigest, IExternalSignature externalSignature, Certificate[] chain, Collection<ICrlClient> crlList, IOcspClient ocspClient, ITSAClient tsaClient, int estimatedSize, PdfSigner.CryptoStandard sigtype) Signs the document using the detached mode, CMS or CAdES equivalent.void
PdfSigner.signDetached
(IExternalDigest externalDigest, IExternalSignature externalSignature, Certificate[] chain, Collection<ICrlClient> crlList, IOcspClient ocspClient, ITSAClient tsaClient, int estimatedSize, PdfSigner.CryptoStandard sigtype, ISignaturePolicyIdentifier signaturePolicy) Signs the document using the detached mode, CMS or CAdES equivalent.void
PdfSigner.signDetached
(IExternalDigest externalDigest, IExternalSignature externalSignature, Certificate[] chain, Collection<ICrlClient> crlList, IOcspClient ocspClient, ITSAClient tsaClient, int estimatedSize, PdfSigner.CryptoStandard sigtype, SignaturePolicyInfo signaturePolicy) Signs the document using the detached mode, CMS or CAdES equivalent.Constructors in com.itextpdf.signatures with parameters of type IExternalDigestModifierConstructorDescriptionPdfPKCS7
(PrivateKey privKey, Certificate[] certChain, String hashAlgorithm, String provider, IExternalDigest interfaceDigest, boolean hasEncapContent) Assembles all the elements needed to create a signature, except for the data.