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

0Parâmetro SignProcessID inválido ou KeysetID fora do intervalo
1Keyset do processo de assinatura definido com sucesso