Search Results for

    Show / Hide Table of Contents

    Class UsbPkcs11HsmSigner

    Inheritance
    System.Object
    AHsmSigner
    UsbPkcs11HsmSigner
    Implements
    IHsmSigner
    System.IDisposable
    Inherited Members
    AHsmSigner.Dispose()
    AHsmSigner.EncodeWithOptionalTimestamp(<11d4c772-3579-4f93-ac46-b452e4461737>CmsSignedData)
    AHsmSigner.BuildPlaceholderSignatureBytes(Byte[])
    AHsmSigner.RequestTimestampToken(Byte[], String)
    AHsmSigner.LibraryPath
    AHsmSigner.UserPin
    AHsmSigner.TokenLabel
    AHsmSigner.Certificate
    AHsmSigner.Filter
    AHsmSigner.SubFilter
    AHsmSigner.SignPlaceholderLength
    AHsmSigner.InternalName
    AHsmSigner.Initialized
    AHsmSigner.TimeStampUrl
    AHsmSigner.TimestampHashAlgorithm
    Namespace: IronSoftware.Pdfium.Signing
    Assembly: IronPdf.dll
    Syntax
    public class UsbPkcs11HsmSigner : AHsmSigner, IHsmSigner

    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()
    EncodeWithOptionalTimestamp(<11d4c772-3579-4f93-ac46-b452e4461737>CmsSignedData)
    BuildPlaceholderSignatureBytes(Byte[])
    RequestTimestampToken(Byte[], String)
    LibraryPath
    UserPin
    TokenLabel
    Certificate
    Filter
    SubFilter
    SignPlaceholderLength
    InternalName
    Initialized
    TimeStampUrl
    TimestampHashAlgorithm
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget