Skip to content
Snippets Groups Projects
Commit 1bb1a03c authored by Martin Nilsson's avatar Martin Nilsson
Browse files

Added references

Rev: lib/modules/Standards.pmod/PKCS.pmod/Signature.pmod:1.11
parent a2a08210
No related branches found
No related tags found
No related merge requests found
......@@ -11,11 +11,13 @@
#pike __REAL_VERSION__
//! @decl string build_digestinfo(string msg, Crypto.Hash hash)
//! Construct a PKCS-1 digestinfo
//! Construct a PKCS-1 digestinfo.
//! @param msg
//! message to digest
//! @param hash
//! crypto hash object such as @[Crypto.SHA1] or @[Crypto.MD5]
//! @seealso
//! Crypto.RSA()->sign, Crypto.RSA()->cooked_sign
string build_digestinfo(string msg, HASH hash)
{
if(!hash->asn1_id) error("Unknown ASN.1 id for hash.\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment