java.lang.Object
com.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfDictionary
com.lowagie.text.pdf.PdfSignature
com.lowagie.text.pdf.PdfSigGenericPKCS
- Direct Known Subclasses:
PdfSigGenericPKCS.PPKLite,PdfSigGenericPKCS.PPKMS,PdfSigGenericPKCS.VeriSign
Deprecated.
A signature dictionary representation for the standard filters.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.Creates a standard filter of the type self signed.static classDeprecated.Creates a standard filter of the type Windows Certificate.static classDeprecated.Creates a standard filter of the type VeriSign. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringDeprecated.The hash algorithm, for example "SHA1"protected StringDeprecated.The subject name in the signing certificate (the element "CN")protected PdfPKCS7Deprecated.The class instance that calculates the PKCS#1 and PKCS#7protected StringDeprecated.The crypto provider -
Constructor Summary
ConstructorsConstructorDescriptionPdfSigGenericPKCS(PdfName filter, PdfName subFilter) Deprecated.Creates a generic standard filter. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Deprecated.Gets the subject name in the signing certificate (the element "CN")Deprecated.Gets the class instance that does the actual signing.byte[]Deprecated.Gets the signature content.voidsetExternalDigest(byte[] digest, byte[] RSAdata, String digestEncryptionAlgorithm) Deprecated.Sets the digest/signature to an external calculated value.voidsetSignInfo(PrivateKey privKey, Certificate[] certChain, CRL[] crlList) Deprecated.Sets the crypto information to sign.Methods inherited from class com.lowagie.text.pdf.PdfSignature
getPdfSignatureBuildProperties, setByteRange, setCert, setContact, setContents, setDate, setLocation, setName, setReasonMethods inherited from class com.lowagie.text.pdf.PdfDictionary
clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, getKeysAndValues, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toStringMethods inherited from class com.lowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
Field Details
-
hashAlgorithm
Deprecated.The hash algorithm, for example "SHA1" -
provider
Deprecated.The crypto provider -
pkcs
Deprecated.The class instance that calculates the PKCS#1 and PKCS#7 -
name
Deprecated.The subject name in the signing certificate (the element "CN")
-
-
Constructor Details
-
PdfSigGenericPKCS
Deprecated.Creates a generic standard filter.- Parameters:
filter- the filter namesubFilter- the sub-filter name
-
-
Method Details
-
setSignInfo
Deprecated.Sets the crypto information to sign.- Parameters:
privKey- the private keycertChain- the certificate chaincrlList- the certificate revocation list. It can benull
-
setExternalDigest
Deprecated.Sets the digest/signature to an external calculated value.- Parameters:
digest- the digest. This is the actual signatureRSAdata- the extra data that goes into the data tag in PKCS#7digestEncryptionAlgorithm- the encryption algorithm. It may must benullif thedigestis alsonull. If thedigestis notnullthen it may be "RSA" or "DSA"
-
getName
Deprecated.Gets the subject name in the signing certificate (the element "CN")- Returns:
- the subject name in the signing certificate (the element "CN")
-
getSigner
Deprecated.Gets the class instance that does the actual signing.- Returns:
- the class instance that does the actual signing
-
getSignerContents
public byte[] getSignerContents()Deprecated.Gets the signature content. This can be a PKCS#1 or a PKCS#7. It corresponds to the /Contents key.- Returns:
- the signature content
-