SetSignProcessKeyset

Segurança e Assinaturas

Descrição

Define o valor de keyset da MS Crypto API

Sintaxe

Delphi

Function TPDFlib.SetSignProcessKeyset(SignProcessID, KeysetID: Integer): Integer;

ActiveX

Function PDFlib::SetSignProcessKeyset(SignProcessID As Long, KeysetID As Long) As Long

DLL

int DLSetSignProcessKeyset(int InstanceID, int SignProcessID, int KeysetID);

Parâmetros

SignProcessIDUm valor retornado pelas funções NewSignProcessFromFile, NewSignProcessFromStream ou NewSignProcessFromString.
KeysetID1 = CRYPT_USER_KEYSET (Default) 2 = CRYPT_MACHINE_KEYSET

Valores retornados

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