Pike v8.1 release 6

Method Standards.PKCS.RSA.signature_algorithm_id()


Method signature_algorithm_id

Sequence signature_algorithm_id(Crypto.Hash hash)

Description

Returns the PKCS-1 algorithm identifier for RSA and the provided hash algorithm. One of MD2, MD5, SHA1, SHA256, SHA384 or SHA512.