|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.security.KeyStore
org.dvb.security.DVBKeyStore
Extends KeyStore to allow loading the keystore using protection parameters.
Constructor Summary | |
protected |
DVBKeyStore(java.security.KeyStoreSpi keyStoreSpi,
java.security.Provider provider,
java.lang.String type)
Creates a KeyStore object of the given type, and encapsulates the given provider implementation (SPI object) in it. |
Method Summary | |
void |
load(KeyStoreProtectionParameters p)
Loads this keystore using the given protection parameters |
Methods inherited from class java.security.KeyStore |
aliases, containsAlias, deleteEntry, getCertificate, getCertificateAlias, getCertificateChain, getCreationDate, getDefaultType, getInstance, getInstance, getInstance, getKey, getProvider, getType, isCertificateEntry, isKeyEntry, load, setCertificateEntry, setKeyEntry, setKeyEntry, size, store |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected DVBKeyStore(java.security.KeyStoreSpi keyStoreSpi, java.security.Provider provider, java.lang.String type)
keyStoreSpi
- the provider implementation.provider
- the provider.type
- the keystore type.Method Detail |
public final void load(KeyStoreProtectionParameters p) throws java.io.IOException, java.security.NoSuchAlgorithmException, java.security.cert.CertificateException
p
- protection parameters to use
java.lang.IllegalArgumentException
- if the parameter p is not recognized
java.io.IOException
- if there is an I/O or format problem with the keystore data
java.security.NoSuchAlgorithmException
- if the algorithm used to check the integrity of the keystore cannot be found
java.security.cert.CertificateException
- if any of the certificates in the keystore could not be loaded
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |