public abstract class KeyStoreSpi extends Object
KeyStore
class.
All the abstract methods in this class must be implemented by each
cryptographic service provider who wishes to supply the implementation
of a keystore for a particular keystore type.KeyStore
Constructor and Description |
---|
KeyStoreSpi() |
Modifier and Type | Method and Description |
---|---|
abstract Enumeration<String> |
engineAliases()
Lists all the alias names of this keystore.
|
abstract boolean |
engineContainsAlias(String alias)
Checks if the given alias exists in this keystore.
|
abstract void |
engineDeleteEntry(String alias)
Deletes the entry identified by the given alias from this keystore.
|
boolean |
engineEntryInstanceOf(String alias,
Class<? extends KeyStore.Entry> entryClass)
Determines if the keystore
Entry for the specified
alias is an instance or subclass of the specified
entryClass . |
abstract Certificate |
engineGetCertificate(String alias)
Returns the certificate associated with the given alias.
|
abstract String |
engineGetCertificateAlias(Certificate cert)
Returns the (alias) name of the first keystore entry whose certificate
matches the given certificate.
|
abstract Certificate[] |
engineGetCertificateChain(String alias)
Returns the certificate chain associated with the given alias.
|
abstract Date |
engineGetCreationDate(String alias)
Returns the creation date of the entry identified by the given alias.
|
KeyStore.Entry |
engineGetEntry(String alias,
|