Pike v8.1 release 6

Method Crypto.RSA.PSSState()->pkcs_signature_algorithm_id()


Method pkcs_signature_algorithm_id

local Sequence pkcs_signature_algorithm_id(.Hash hash, int(0..)|void saltlen)

Description

Calls Standards.PKCS.RSA.pss_signature_algorithm_id with the provided hash and saltlen.

Parameter hash

Hash algorithm for the signature.

Parameter saltlen

Length of the salt for the signature. Defaults to the value returned by salt_size().