Package Crypto :: Package PublicKey :: Module qNEW :: Class qNEWobj
[hide private]
[frames] | no frames]

Class qNEWobj

pubkey.pubkey --+
                |
               qNEWobj

Instance Methods [hide private]
 
_sign(self, M, K='')
 
_verify(self, M, sig)
 
size(self)
Return the maximum number of bits that can be handled by this key.
 
has_private(self)
Return a Boolean denoting whether the object contains private components.
 
can_sign(self)
Return a Boolean value recording whether this algorithm can generate signatures.
 
can_encrypt(self)
Return a Boolean value recording whether this algorithm can encrypt data.
 
publickey(self)
Return a new key object containing only the public information.

Inherited from pubkey.pubkey: __eq__, __getstate__, __init__, __ne__, __setstate__, blind, can_blind, decrypt, encrypt, sign, unblind, validate, verify

Class Variables [hide private]
  keydata = ['p', 'q', 'g', 'y', 'x']
Method Details [hide private]

size(self)

 
Return the maximum number of bits that can be handled by this key.
Overrides: pubkey.pubkey.size

has_private(self)

 
Return a Boolean denoting whether the object contains private components.
Overrides: pubkey.pubkey.has_private

can_sign(self)

 
Return a Boolean value recording whether this algorithm can generate signatures.
Overrides: pubkey.pubkey.can_sign

can_encrypt(self)

 
Return a Boolean value recording whether this algorithm can encrypt data.
Overrides: pubkey.pubkey.can_encrypt

publickey(self)

 
Return a new key object containing only the public information.
Overrides: pubkey.pubkey.publickey