SetSignProcessRSAPSSPadding

Segurança e assinaturas

Descrição

Seleciona o padding RSASSA-PSS para a assinatura RSA detached construída por um processo de assinatura

Sintaxe

Delphi

Function SetSignProcessRSAPSSPadding(SignProcessID: Integer; Enable: Boolean): Integer;

Parâmetros

SignProcessIDValue returned by a NewSignProcessFrom* function
EnableTrue to sign with RSASSA-PSS, false to keep PKCS#1 v1.5 padding (the default)

Valor de retorno

1 quando a configuração foi armazenada, 0 para id de processo inválido

Observações

The setting applies to the adbe.pkcs7.detached and ETSI.CAdES.detached subfilters and requires a CNG-backed RSA private key; signatures made with legacy CryptoAPI keys stay PKCS#1 v1.5 paddedThe CMS carries full RFC 4055 parameters: the digest from

SetSignProcessDigestAlgorithm, MGF1 driven by the same digest and a salt length equal to the digest length

Veja também

SetSignProcessDigestAlgorithm, SetSignProcessSubFilter