|
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) |
Key * | getKey (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 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) |