This class is a simple holder for a key pair, a public key and a private key
![]() | ~KeyFactoryImpl () Deletes this object |
![]() | getKeyEncoded (const string& format, const PublicKey &key) const Encodes the public key using a format specified by format |
![]() | initPublicKey (const string& format, const string& type, const string& encoding) const Returns a PublicKey |
![]() | getKeyEncoded (const string& format, const PrivateKey &key) const Encodes the private key using a format specified by format (only DER for now) |
![]() | initPrivateKey (const string& format, const string& encoding) const Returns a PrivateKey |
![]() | initPrivateKeyFromFile (const string& format, const string& fileName) const Initiliazes the PrivateKey from a file |
![]() | generateRSAKeyPair (int size = 64, unsigned long exponent = 3) const Generates an RSA key pair |
![]() | generateDSAKeyPair (int size = 64, const string& seed = "") const Generates a DSA key pair |
![]() | KeyPair () Default Constructor |
![]() | KeyPair (const PublicKey &publicKey, const PrivateKey &privateKey) Constructs a key pair given a public key and a private key |
![]() | ~KeyPair () Destroys this object |
![]() | getPrivateKey () const Returns a reference to the private key component of this key pair |
![]() | getPublicKey () const Returns a reference to the public key component of this key pair |
![]() | paramString () const Returns a string representation of this key pair for debugging purposes |
![]() | KeyFactoryImpl () Constructs this object |
This class is a simple holder for a key pair, a public key and a private key. It does not enforce any security and, when initialized, should be treated like a private key.
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de