Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
Standards
Standards.PKCS
Standards.PKCS.Signature

Method Standards.PKCS.Signature.build_digestinfo()


Method build_digestinfo

string Standards.PKCS.Signature.build_digestinfo(string msg, Crypto.Hash hash)

Description

Construct a PKCS-1 digestinfo

Parameter msg

message to digest

Parameter hash

crypto hash object such as Crypto.SHA or Crypto.MD5