|
__init__(self,
implementation,
key,
randfunc=None) |
|
|
|
sign(self,
M,
K)
Sign a piece of data with DSA. |
|
|
|
verify(self,
M,
signature)
Verify the validity of a DSA signature. |
|
|
|
has_private(self)
Tell if the key object contains private components. |
|
|
|
size(self)
Tell the maximum number of bits that can be handled by this key. |
|
|
|
can_blind(self)
Tell if the algorithm can deal with data blinding. |
|
|
|
can_encrypt(self)
Tell if the algorithm can deal with data encryption. |
|
|
|
can_sign(self)
Tell if the algorithm can deal with cryptographic signatures. |
|
|
|
publickey(self)
Construct a new key carrying only the public information. |
|
|
|
exportKey(self,
format=' PEM ' ,
pkcs8=None,
passphrase=None,
protection=None)
Export this DSA key. |
|
|
Inherited from pubkey.pubkey :
blind ,
decrypt ,
encrypt ,
unblind
|