namespace Akenti class KeyFactory : public ref_ptr<KeyFactoryImpl>

A KeyFactory is a reference-count pointer that wraps a KeyFactoryImpl

Inheritance:


Public Methods

KeyFactory (KeyFactoryImpl *impl)
Constructs a KeyFactory given a KeyFactoryImpl
~KeyFactory ()
Destroys this object
static KeyFactory getInstance ()
Returns the KeyFactory from the installed Provider

Inherited from ref_ptr:

Public Methods

ref_ptr & operator=(const ref_ptr& rhs)
T* operator->() const
operator void*() const
T* get() const

Documentation

A KeyFactory is a reference-count pointer that wraps a KeyFactoryImpl.

Usage 1

KeyFactory fac = KeyFactory::getInstance();
KeyPair pair = fac->generateRSAKeyPair(); 
string enc = fac->getKeyEncoded("DER", pair.getPrivateKey());
....

KeyFactory(KeyFactoryImpl *impl)
Constructs a KeyFactory given a KeyFactoryImpl.
See Also:
KeyFactoryImpl
ref_ptr

~KeyFactory()
Destroys this object.
See Also:
ref_ptr

static KeyFactory getInstance()
Returns the KeyFactory from the installed Provider.
See Also:
getProvider()
getKeyFactory()


This class has no child classes.
Author:
Srilekha Mudumbai Abdelilah Essiari
Version:
1.1 00/05/01
See Also:
KeyFactoryImpl
ProviderImpl
Provider
ref_ptr

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