Pike v8.1 release 6

Method Crypto.ECC.Curve()->ECDSA()->pkcs_signature_algorithm_id()


Method pkcs_signature_algorithm_id

Sequence pkcs_signature_algorithm_id(.Hash hash)

Description

Returns the PKCS-1 algorithm identifier for ECDSA and the provided hash algorithm. Only SHA-1 and SHA-2 based hashes are supported currently.