Debenu Quick PDF logo

SetSignProcessKeyset

Security and Signatures

Version history

This function was introduced in Quick PDF Library version 9.16.

Description

Sets the MS Crypto API keyset value.

Syntax

Delphi

function TDebenuPDFLibrary1511.SetSignProcessKeyset(SignProcessID, 
  KeysetID: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetSignProcessKeyset(
  SignProcessID As Long, KeysetID As Long) As Long

DLL

int DPLSetSignProcessKeyset(int InstanceID, int SignProcessID, int KeysetID)

Parameters

SignProcessID A value returned by the NewSignProcessFromFile, NewSignProcessFromStream or NewSignProcessFromString functions.
KeysetID 1 = CRYPT_USER_KEYSET (Default)
2 = CRYPT_MACHINE_KEYSET

Return values

0 Invalid SignProcessID parameter or KeysetID out of range
1 Signature process keyset was set successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport