class Akenti::KeyFactoryImpl |
This abstract class provides applications with key generation, PEM or DER encoding and decoding for key export and import.
![]() | ~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& encoding) const Returns a PublicKey. |
![]() | getKeyEncoded (const string& format, const PrivateKey &key) const Encodes the private key using a format specified by format |
![]() | 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 Generates a DSA key pair. |
![]() | KeyFactoryImpl () Constructs this object |
This abstract class provides applications with key generation, PEM or DER encoding and decoding for key export and import.Typically, an instance of this class is instantiated and wrapped in a KeyFactory object which is merely a reference-count pointer.
Applications should never have to instantiate a subclass of this class. Instead, the KeyFactory#getKeyFactory() should be used.
Alphabetic index HTML hierarchy of classes or Java