Uses of Interface
com.itextpdf.signatures.IExternalDigest
-
Uses of IExternalDigest in com.itextpdf.signatures
Modifier 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.Modifier and TypeMethodDescriptionvoid
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.ModifierConstructorDescriptionPdfPKCS7
(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.