Pdf |
Represents the content of the PdfSignature.
For public-key signatures, PdfSignatureContent should be either a DER-encoded PKCS#1 binary data object or a DER-encoded CMS binary data object.
For document timestamp signatures, PdfSignatureContent shall be the TimeStampToken as specified in RFC 3161 as updated by RFC 5816. The value of the messageImprint field within the TimeStampToken shall be a hash of the bytes of the document indicated by the ByteRange and the ByteRange shall specify the complete PDF file contents (excepting the Content value).
The PdfSignatureContent type exposes the following members.
Name | Description | |
---|---|---|
![]() | HashAlgorithm | Gets the hash algorithm used to hash the contents of a PDF file upon which the signature's Value is computed by PdfDigitalId. |
![]() | PolicyIdentifier | Gets the signature policy identifier contained in the PdfSignatureContent or if signature doesn't contain a policy identifier. |
![]() | RSASignaturePadding | Gets the RSA signature padding used if signer's certificate has an 'RSA' public key. |
![]() | SignerCertificate | Gets the signer certificate contained in the PdfSignatureContent. |
![]() | TimestampToken | Gets the timestamp token contained in the PdfSignatureContent or if signature doesn't contain a timestamp. |
![]() | ValidationInfo | Gets the (potentially partial) validation-related information (certificates, certificate revocation lists and Online Certificate Status Protocol responses) contained in the PdfSignatureContent. |
![]() | Value | Gets the signature value. |
Name | Description | |
---|---|---|
![]() | GetHash | Gets the hash over which the signature was computed, if the hash is contained in the PdfSignatureContent; otherwise, . If the PdfSignatureContent is a DER-encoded CMS binary data object and conforms to RFC 5652 Cryptographic Message Syntax, the hash is either the value of the encapContentInfo field within the SignedData (if eContent field within the EncapsulatedContentInfo is not empty, in which case hashAlgorithm is SHA1 because the PdfSignatureContent is in the PKCS7_SHA1 format) or the value of the MessageDigest signed attribute (if present). If the PdfSignatureContent is a TimeStampToken as specified in RFC 3161 as updated by RFC 5816, the hash is the value of the messageImprint field within the TimeStampToken. |
![]() | GetRawData | Gets the copy of raw data of a PdfSignatureContent. |
![]() | ToString |
Returns a String that represents this PdfSignatureContent instance.
(Overrides ObjectToString) |