Class PdfSignature
Inheritance
System.Object
PdfSignature
Assembly: IronPdf.dll
Syntax
public class PdfSignature : Object
Constructors
PdfSignature(Byte[], String, String)
Declaration
public PdfSignature(byte[] certificateRawData, string password, string timeStampUrl = null)
Parameters
Type |
Name |
Description |
System.Byte[] |
certificateRawData |
|
System.String |
password |
|
System.String |
timeStampUrl |
|
PdfSignature(X509Certificate2)
Declaration
public PdfSignature(X509Certificate2 exportableNativeCertificate)
Parameters
Type |
Name |
Description |
System.Security.Cryptography.X509Certificates.X509Certificate2 |
exportableNativeCertificate |
|
PdfSignature(String, String, String)
Declaration
public PdfSignature(string filePathToCertificate, string password, string timeStampUrl = null)
Parameters
Type |
Name |
Description |
System.String |
filePathToCertificate |
|
System.String |
password |
|
System.String |
timeStampUrl |
|
Fields
SignatureDate
Declaration
public Nullable<DateTime> SignatureDate
Field Value
Type |
Description |
System.Nullable<System.DateTime> |
|
SignatureImage
Declaration
public PdfSignatureImage SignatureImage
Field Value
Declaration
public string SigningContact
Field Value
Type |
Description |
System.String |
|
SigningLocation
Declaration
public string SigningLocation
Field Value
Type |
Description |
System.String |
|
SigningReason
Declaration
public string SigningReason
Field Value
Type |
Description |
System.String |
|
TimestampHashAlgorithm
Declaration
public TimestampHashAlgorithms TimestampHashAlgorithm
Field Value
TimeStampUrl
Declaration
public string TimeStampUrl
Field Value
Type |
Description |
System.String |
|
Methods
LoadSignatureImageFromFile(String, Int32, Rectangle)
Declaration
public void LoadSignatureImageFromFile(string filePath, int pageIndex, Rectangle rectangle)
Parameters
Type |
Name |
Description |
System.String |
filePath |
|
System.Int32 |
pageIndex |
|
IronSoftware.Drawing.Rectangle |
rectangle |
|
LoadSignatureImageFromStream(Stream, Int32, Rectangle)
Declaration
public void LoadSignatureImageFromStream(Stream stream, int pageIndex, Rectangle rectangle)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
System.Int32 |
pageIndex |
|
IronSoftware.Drawing.Rectangle |
rectangle |
|
Extension Methods