__init__(self,
key,
mgfunc,
saltLen,
randfunc)
(Constructor)
|
|
Initialize this PKCS#1 PSS signature scheme object.
- Parameters:
key (an RSA key object) - If a private half is given, both signature and
verification are possible.
If a public half is given, only verification is possible.
mgfunc (callable) - A mask generation function that accepts two parameters:
a string to use as seed, and the lenth of the mask to
generate, in bytes.
saltLen (integer) - Length of the salt, in bytes.
randfunc (callable) - A function that returns random bytes.
|