Search Results for

    Show / Hide Table of Contents

    Class PdfSignature

    Inheritance
    System.Object
    PdfSignature
    Namespace: IronPdf.Signing
    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

    ContactInformation

    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
    Type Description
    PdfSignatureImage

    SigningContact

    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
    Type Description
    TimestampHashAlgorithms

    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
    Type Description
    PdfSignature

    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

    PdfSignatureExtensions.SignPdfFile(PdfSignature, String, Boolean, String, String)
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronPDF to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPDF free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.