beecrypt::security::KeyStore Class Reference
[C++ classes mimicking java.security]

#include <KeyStore.h>

Inheritance diagram for beecrypt::security::KeyStore:

Inheritance graph
[legend]
Collaboration diagram for beecrypt::security::KeyStore:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~KeyStore ()
Enumeration * aliases ()
bool containsAlias (const String &alias) throw (KeyStoreException)
const Certificate * getCertificate (const String &alias) throw (KeyStoreException)
const String & getCertificateAlias (const Certificate &cert) throw (KeyStoreException)
const vector< Certificate * > * getCertificateChain (const String &alias) throw (KeyStoreException)
bool isCertificateEntry (const String &alias) throw (KeyStoreException)
void setCertificateEntry (const String &alias, const Certificate &cert) throw (KeyStoreException)
void deleteEntry (const String &alias) throw (KeyStoreException)
KeygetKey (const String &alias, const array< javachar > &password) throw (KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException)
bool isKeyEntry (const String &alias) throw (KeyStoreException)
void setKeyEntry (const String &alias, const bytearray &key, const vector< Certificate * > &) throw (KeyStoreException)
void setKeyEntry (const String &alias, const Key &key, const array< javachar > &password, const vector< Certificate * > &) throw (KeyStoreException)
size_t size () const throw (KeyStoreException)
void load (InputStream *in, const array< javachar > *password) throw (IOException, NoSuchAlgorithmException, CertificateException)
void store (OutputStream &out, const array< javachar > *password) throw (KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException)
const String & getType () const throw ()
const ProvidergetProvider () const throw ()

Static Public Member Functions

static KeyStoregetInstance (const String &type) throw (KeyStoreException)
static KeyStoregetInstance (const String &type, const String &provider) throw (KeyStoreException, NoSuchProviderException)
static KeyStoregetInstance (const String &type, const Provider &provider) throw (KeyStoreException)
static const String & getDefaultType ()

Protected Member Functions

 KeyStore (KeyStoreSpi *spi, const Provider *provider, const String &type)


Constructor & Destructor Documentation

beecrypt::security::KeyStore::KeyStore ( KeyStoreSpi spi,
const Provider provider,
const String &  type 
) [protected]

virtual beecrypt::security::KeyStore::~KeyStore (  )  [virtual]


Member Function Documentation

Enumeration* beecrypt::security::KeyStore::aliases (  ) 

bool beecrypt::security::KeyStore::containsAlias ( const String &  alias  )  throw (KeyStoreException)

void beecrypt::security::KeyStore::deleteEntry ( const String &  alias  )  throw (KeyStoreException)

const Certificate* beecrypt::security::KeyStore::getCertificate ( const String &  alias  )  throw (KeyStoreException)

const String& beecrypt::security::KeyStore::getCertificateAlias ( const Certificate &  cert  )  throw (KeyStoreException)

const vector<Certificate*>* beecrypt::security::KeyStore::getCertificateChain ( const String &  alias  )  throw (KeyStoreException)

static const String& beecrypt::security::KeyStore::getDefaultType (  )  [static]

static KeyStore* beecrypt::security::KeyStore::getInstance ( const String &  type,
const Provider provider 
) throw (KeyStoreException) [static]

static KeyStore* beecrypt::security::KeyStore::getInstance ( const String &  type,
const String &  provider 
) throw (KeyStoreException, NoSuchProviderException) [static]

static KeyStore* beecrypt::security::KeyStore::getInstance ( const String &  type  )  throw (KeyStoreException) [static]

Key* beecrypt::security::KeyStore::getKey ( const String &  alias,
const array< javachar > &  password 
) throw (KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException)

const Provider& beecrypt::security::KeyStore::getProvider (  )  const throw ()

const String& beecrypt::security::KeyStore::getType (  )  const throw ()

bool beecrypt::security::KeyStore::isCertificateEntry ( const String &  alias  )  throw (KeyStoreException)

bool beecrypt::security::KeyStore::isKeyEntry ( const String &  alias  )  throw (KeyStoreException)

void beecrypt::security::KeyStore::load ( InputStream in,
const array< javachar > *  password 
) throw (IOException, NoSuchAlgorithmException, CertificateException)

void beecrypt::security::KeyStore::setCertificateEntry ( const String &  alias,
const Certificate &  cert 
) throw (KeyStoreException)

void beecrypt::security::KeyStore::setKeyEntry ( const String &  alias,
const Key key,
const array< javachar > &  password,
const vector< Certificate * > &   
) throw (KeyStoreException)

void beecrypt::security::KeyStore::setKeyEntry ( const String &  alias,
const bytearray key,
const vector< Certificate * > &   
) throw (KeyStoreException)

size_t beecrypt::security::KeyStore::size (  )  const throw (KeyStoreException)

void beecrypt::security::KeyStore::store ( OutputStream out,
const array< javachar > *  password 
) throw (KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException)


The documentation for this class was generated from the following file:

Generated on Mon Feb 23 15:43:16 2009 for BeeCrypt by  doxygen 1.5.8