Search Results for

    Show / Hide Table of Contents

    Class UsbPkcs11HsmSigner

    Inheritance
    System.Object
    AHsmSigner
    UsbPkcs11HsmSigner
    Implements
    IHsmSigner
    System.IDisposable
    Inherited Members
    AHsmSigner.Dispose()
    AHsmSigner.LibraryPath
    AHsmSigner.UserPin
    AHsmSigner.TokenLabel
    AHsmSigner.Certificate
    AHsmSigner.Filter
    AHsmSigner.SubFilter
    AHsmSigner.SignPlaceholderLength
    AHsmSigner.InternalName
    AHsmSigner.Initialized
    Namespace: IronSoftware.Pdfium.Signing
    Assembly: IronPdf.dll
    Syntax
    public class UsbPkcs11HsmSigner : AHsmSigner, IHsmSigner, IDisposable

    Constructors

    UsbPkcs11HsmSigner(String, String, String, String, String, String)

    Declaration
    public UsbPkcs11HsmSigner(string libraryPath, string userPin, string tokenLabel, string internalName, string digestAlgorithm = "SHA256", string signingAlgorithm = "RSA")
    Parameters
    Type Name Description
    System.String libraryPath
    System.String userPin
    System.String tokenLabel
    System.String internalName
    System.String digestAlgorithm
    System.String signingAlgorithm

    Methods

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

    Declaration
    public override 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
    Overrides
    AHsmSigner.AttachSignature(Byte[], Byte[], Int32, Int32)

    DoDispose()

    Declaration
    protected override void DoDispose()
    Overrides
    AHsmSigner.DoDispose()

    GetCertificate()

    Declaration
    public override X509Certificate2 GetCertificate()
    Returns
    Type Description
    System.Security.Cryptography.X509Certificates.X509Certificate2
    Overrides
    AHsmSigner.GetCertificate()

    GetDetachedSignature(Byte[])

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

    Initialize()

    Declaration
    protected override void Initialize()
    Overrides
    AHsmSigner.Initialize()

    Implements

    IHsmSigner
    System.IDisposable

    Inherited members

    Dispose()
    LibraryPath
    UserPin
    TokenLabel
    Certificate
    Filter
    SubFilter
    SignPlaceholderLength
    InternalName
    Initialized
    ☀
    ☾
    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.