Class AHsmSigner
Inheritance
System.Object
AHsmSigner
Implements
System.IDisposable
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
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
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
System.IDisposable