Search Results for

    Show / Hide Table of Contents

    Class AHsmSigner

    Inheritance
    System.Object
    AHsmSigner
    UsbPkcs11HsmSigner
    Implements
    IHsmSigner
    System.IDisposable
    Namespace: IronSoftware.Pdfium.Signing
    Assembly: IronPdf.dll
    Syntax
    public abstract class AHsmSigner : Object, IHsmSigner, IDisposable

    Constructors

    AHsmSigner(String, String, String, String)

    Declaration
    protected AHsmSigner(string libraryPath, string userPin, string tokenLabel, string internalName = null)
    Parameters
    Type Name Description
    System.String libraryPath
    System.String userPin
    System.String tokenLabel
    System.String internalName

    Properties

    Certificate

    Declaration
    public  < 11d  4  c772 - 3579 - 4f  93 - ac46 - b452e4461737 > X509Certificate Certificate { get; protected set; }
    Property Value
    Type Description
    <11d4c772-3579-4f93-ac46-b452e4461737>X509Certificate

    Filter

    Declaration
    public string Filter { get; protected set; }
    Property Value
    Type Description
    System.String

    Initialized

    Declaration
    public bool Initialized { get; protected set; }
    Property Value
    Type Description
    System.Boolean

    InternalName

    Declaration
    public string InternalName { get; set; }
    Property Value
    Type Description
    System.String

    LibraryPath

    Declaration
    public string LibraryPath { get; set; }
    Property Value
    Type Description
    System.String

    SignPlaceholderLength

    Declaration
    public int SignPlaceholderLength { get; protected set; }
    Property Value
    Type Description
    System.Int32

    SubFilter

    Declaration
    public string SubFilter { get; protected set; }
    Property Value
    Type Description
    System.String

    TokenLabel

    Declaration
    public string TokenLabel { get; set; }
    Property Value
    Type Description
    System.String

    UserPin

    Declaration
    public string UserPin { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    AttachSignature(Byte[], Byte[], Int32, Int32)

    Declaration
    public abstract bool AttachSignature(byte[] pdfBytes, byte[] dataToSign, int signEndInBytes, int signStartInBytes)
    Parameters
    Type Name Description
    System.Byte[] pdfBytes
    System.Byte[] dataToSign
    System.Int32 signEndInBytes
    System.Int32 signStartInBytes
    Returns
    Type Description
    System.Boolean

    Dispose()

    Declaration
    public void Dispose()

    DoDispose()

    Declaration
    protected abstract void DoDispose()

    GetCertificate()

    Declaration
    public abstract X509Certificate2 GetCertificate()
    Returns
    Type Description
    System.Security.Cryptography.X509Certificates.X509Certificate2

    GetDetachedSignature(Byte[])

    Declaration
    public abstract byte[] GetDetachedSignature(byte[] dataToSign)
    Parameters
    Type Name Description
    System.Byte[] dataToSign
    Returns
    Type Description
    System.Byte[]

    Initialize()

    Declaration
    protected abstract void Initialize()

    Implements

    IHsmSigner
    System.IDisposable
    ☀
    ☾
    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.