The Pkcs7Sha1SignatureHandler type exposes the following members.

Constructors

  NameDescription
Public methodPkcs7Sha1SignatureHandler(X509Certificate2)
Create a new Pkcs7Sha1SignatureHandler and use the given certificate to sign.
Public methodPkcs7Sha1SignatureHandler(X509Chain)
Create a new Pkcs7Sha1SignatureHandler and use the given chain to sign.
Public methodPkcs7Sha1SignatureHandler(Pkcs12Store)
Create a new Pkcs7Sha1SignatureHandler and use the first key from the store to sign.
Public methodPkcs7Sha1SignatureHandler(Pkcs12Store, String)
Create a new Pkcs7Sha1SignatureHandler and use the given key from the store to sign.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSign
Signs the given bytes and returns the digest.
(Inherited from StandardSignatureHandler.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodVerify
Verifies the signature. Do not call this method directly.
(Overrides SignatureHandler..::..Verify(array<Byte>[]()[][], array<Byte>[]()[][], array<array<Byte>[]()[][]>[]()[][]).)

Properties

  NameDescription
Public propertyCanSign
Always true.
(Inherited from StandardSignatureHandler.)
Public propertyCanVerify
Always true.
(Inherited from StandardSignatureHandler.)
Public propertyCertificates
An array of strings representing the X.509 certicicate chain used for signing and validating signatures that use public-key cryptology.
(Inherited from SignatureHandler.)
Public propertyDistinguishedName
For internal use only.
(Inherited from StandardSignatureHandler.)
Public propertyFilter
The filter parameter used in the PDF document.
(Inherited from StandardSignatureHandler.)
Public propertyMaxDigestLength
The maximum length of the digest.
(Overrides SignatureHandler..::..MaxDigestLength.)
Public propertyName
The subject name in the signing certificate (the element "CN")
(Inherited from StandardSignatureHandler.)
Public propertyRevision
Revision number of the SignatureHandler.
(Overrides SignatureHandler..::..Revision.)
Public propertySignDate
The date and time of signing.
(Inherited from StandardSignatureHandler.)
Public propertySubFilter
The subfilter parameter used in the PDF document.
(Inherited from StandardSignatureHandler.)
Public propertyUsePropBuild
You can specify if you want to use the PropertyBuild structure or not. (default false)
(Inherited from SignatureHandler.)

See Also