SignatureCreate Method (Pkcs12Store, String, ISignatureServiceProvider)

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Create a new StandardSignatureHandler best suited for a signing certificate.

Namespace:  Apitron.PDF.Kit.Interactive.Forms.Signature
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public static Signature Create(
	Pkcs12Store keyStore,
	string name,
	ISignatureServiceProvider signatureServiceProvider = null
)

Parameters

keyStore
Type: Apitron.PDF.Kit.Interactive.Forms.SignaturePkcs12Store
The key store containing the private key.
name
Type: SystemString
The name that is associated with the private key in the store.
signatureServiceProvider (Optional)
Type: Apitron.PDF.Kit.Interactive.Forms.SignatureISignatureServiceProvider
Signature service provider.

Return Value

Type: Signature
Signature based on PKCS#12 store.
Remarks

This method creates a signature handler best suited for signing based on the signing certificate's properties.

Note that a complete chain of certificates up to the root CA certificate or a self signed certificate is required within the key store.

See Also

Reference