Package PyKCS11 :: Class RSA_PSS_Mechanism
[hide private]
[frames] | no frames]

Class RSA_PSS_Mechanism

source code

object --+
         |
        RSA_PSS_Mechanism

RSA PSS Wrapping mechanism

Instance Methods [hide private]
 
__init__(self, hashAlg, mgf, sLen)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
to_native(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, hashAlg, mgf, sLen)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • hashAlg - the hash algorithm to use (like CKM_SHA384)
  • mgf - the mask generation function to use (like CKG_MGF1_SHA384)
  • sLen - length, in bytes, of the salt value used in the PSS encoding
Overrides: object.__init__