PKCS1
Contents
[
Hide
]PKCS1 class
Represents signature object regarding PKCS#1 standard.
RSA encryption algorithm and SHA-1 digest method are used for signing.
The PKCS1 type exposes the following members:
Constructors
Name | Description |
---|---|
PKCS1(image) | Initializes a new instance of the PKCS1 class |
PKCS1() | Inititalizes new instance of the PKCS1 class. |
PKCS1(pfx, password) | Initializes a new instance of the PKCS1 class |
PKCS1(pfx, password) | Initializes a new instance of the PKCS1 class |
Properties
Name | Description |
---|---|
custom_appearance | Gets/sets the custom appearance. |
authority | The name of the person or authority signing the document. |
date | The time of signing. |
location | The CPU host name or physical location of the signing. |
reason | The reason for the signing, such as (I agree…). |
contact_info | Information provided by the signer to enable a recipient to contact the signer to verify the signature, e.g. a phone number. |
byte_range | An array of pairs of integers (starting byte offset, length in bytes) that shall describe the exact byte range for the digest calculation. |
timestamp_settings | Gets/sets timestamp settings. |
ocsp_settings | Gets/sets ocsp settings. |
use_ltv | Gets/sets ltv validation flag. |
show_properties | Force to show/hide signature properties. In case ShowProperties is true signature field has predefined format of appearance (strings to represent): ——————————————- Digitally signed by {certificate subject} Date: {signature.Date} Reason: {signature.Reason} Location: {signature.Location} ——————————————- where {X} is placeholder for X value. Also signature can have image, in this case listed strings are placed over image. ShowProperties is true by default. |
Methods
Name | Description |
---|---|
verify() | Verify the document regarding this signature and return true if document is valid or otherwise false. |
See Also
- namespace aspose.pdf.forms
- assembly Aspose.PDF