Extracted from Pike v7.4 release 341 at 2005-11-30.
pike.ida.liu.se
[Top]
predef::
Standards
Standards.PKCS
Standards.PKCS.Signature

Method Standards.PKCS.Signature.build_digestinfo()


Method build_digestinfo

string Standards.PKCS.Signature.build_digestinfo(string msg, object hash)

Description

Construct a PKCS-1 digestinfo

Parameter msg

message to digest

Parameter hash

crypto hash object such as Crypto.sha or Crypto md5