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
Declaration
public string ContactInformation
Field Value
Type |
Description |
System.String |
|
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
FromBase64(String, String, String)
Declaration
public static PdfSignature FromBase64(string Base64, string Password = null, string TimeStampUrl = null)
Parameters
Type |
Name |
Description |
System.String |
Base64 |
|
System.String |
Password |
|
System.String |
TimeStampUrl |
|
Returns
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