|
|
|
__getattr__(self,
attrname) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
has_private(self)
has_private() : bool
Return a Boolean denoting whether the object contains
private components. |
|
|
|
size(self)
size() : int
Return the maximum number of bits that can be handled by this key. |
|
|
|
can_blind(self)
can_blind() : bool
Return a Boolean value recording whether this algorithm can
blind data. (This does not imply that this
particular key object has the private information required to
to blind a message.) |
|
|
|
can_encrypt(self)
can_encrypt() : bool
Return a Boolean value recording whether this algorithm can
encrypt data. (This does not imply that this
particular key object has the private information required to
to decrypt a message.) |
|
|
|
can_sign(self)
can_sign() : bool
Return a Boolean value recording whether this algorithm can
generate signatures. (This does not imply that this
particular key object has the private information required to
to generate a signature.) |
|
|
|
publickey(self)
publickey(): object
Return a new key object containing only the public information. |
|
|
|
__getstate__(self)
To keep key objects platform-independent, the key data is
converted to standard Python long integers before being
written out. It will then be reconverted as necessary on
restoration. |
|
|
|
__setstate__(self,
d)
On unpickling a key object, the key data is converted to the big
number representation being used, whether that is Python long
integers, MPZ objects, or whatever. |
|
|
|
|
Inherited from pubkey.pubkey :
__eq__ ,
__ne__ ,
blind ,
decrypt ,
encrypt ,
sign ,
unblind ,
validate ,
verify
|