Home | Trees | Index | Help |
|
---|
Package g4ds :: Package algorithms :: Module algorithminterface :: Class AlgorithmInterface |
|
AlgorithmImplementation
,
AlgorithmImplementation
Method Summary | |
---|---|
Just ot set up the name of the implementation. | |
Creates a key pair for the algorithm. | |
String
|
Decrypts the ciphertext. |
String
|
Encrypts the plain text. |
GETTER | |
Returns the public part of the key pair. | |
SETTER | |
String
|
Provides a signature for the given message. |
Boolean
|
Verifies, whether the exactly this message has been signed with the corresponding private key for this public key. |
Instance Variable Summary | |
---|---|
String |
_name : Name of the Implementation |
Method Details |
---|
__init__(self,
name)
Just ot set up the name of the implementation.
|
createKeyPair(self, bitlength=None)Creates a key pair for the algorithm. |
decrypt(self, ciphertext, keyst=None)Decrypts the ciphertext.
|
encrypt(self, plaintext, keyst)Encrypts the plain text.
|
getName(self)GETTER |
getPublicKey(self, privateKeySt=None)Returns the public part of the key pair. |
setKeyPair(self, key)SETTER |
signMessage(self, message, keyst=None)Provides a signature for the given message.
|
validate(self, message, signature, keyst)Verifies, whether the exactly this message has been signed with the corresponding private key for this public key.
|
Instance Variable Details |
---|
_nameName of the Implementation
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat Oct 22 22:52:46 2005 | http://epydoc.sf.net |