#include <KeyStore.h>


Classes | |
| class | Entry |
| class | LoadStoreParameter |
| class | PasswordProtection |
| class | PrivateKeyEntry |
| class | ProtectionParameter |
| class | SecretKeyEntry |
| class | TrustedCertificateEntry |
Public Member Functions | |
| virtual | ~KeyStore () |
| Enumeration< const String > * | 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 array< 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) |
| Key * | getKey (const String &alias, const array< jchar > &password) throw (KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException) |
| bool | isKeyEntry (const String &alias) throw (KeyStoreException) |
| void | setKeyEntry (const String &alias, const bytearray &key, const array< Certificate * > &chain) throw (KeyStoreException) |
| Assigns the given key to the specified alias. | |
| void | setKeyEntry (const String &alias, const Key &key, const array< jchar > &password, const array< Certificate * > &chain) throw (KeyStoreException) |
| Assigns the given key to the specified alias. | |
| jint | size () const throw (KeyStoreException) |
| void | load (InputStream *in, const array< jchar > *password) throw (IOException, NoSuchAlgorithmException, CertificateException) |
| void | store (OutputStream &out, const array< jchar > *password) throw (KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException) |
| const String & | getType () const throw () |
| const Provider & | getProvider () const throw () |
Static Public Member Functions | |
| static KeyStore * | getInstance (const String &type) throw (KeyStoreException) |
| static KeyStore * | getInstance (const String &type, const String &provider) throw (KeyStoreException, NoSuchProviderException) |
| static KeyStore * | getInstance (const String &type, const Provider &provider) throw (KeyStoreException) |
| static const String & | getDefaultType () |
Protected Member Functions | |
| KeyStore (KeyStoreSpi *spi, const Provider *provider, const String &type) | |
| beecrypt::security::KeyStore::KeyStore | ( | KeyStoreSpi * | spi, | |
| const Provider * | provider, | |||
| const String & | type | |||
| ) | [protected] |
| virtual beecrypt::security::KeyStore::~KeyStore | ( | ) | [virtual] |
| Enumeration<const String>* 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 array<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< jchar > & | 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< jchar > * | 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< jchar > & | password, | |||
| const array< Certificate * > & | chain | |||
| ) | throw (KeyStoreException) |
Assigns the given key to the specified alias.
| void beecrypt::security::KeyStore::setKeyEntry | ( | const String & | alias, | |
| const bytearray & | key, | |||
| const array< Certificate * > & | chain | |||
| ) | throw (KeyStoreException) |
Assigns the given key to the specified alias.
| jint beecrypt::security::KeyStore::size | ( | ) | const throw (KeyStoreException) |
| void beecrypt::security::KeyStore::store | ( | OutputStream & | out, | |
| const array< jchar > * | password | |||
| ) | throw (KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException) |
1.5.8