A public keystore that can used with SSL.
To work with SSL this class implements the SSL
CertStore interface.
Constructor Summary
public
WebPublicKeyStore() Constructs an keystore to initialize the class security token.
public
WebPublicKeyStore(InputStream in) Constructs an extendable keystore from a serialized keystore created
by
PublicKeyStoreBuilder .
public
WebPublicKeyStore(InputStream in, Vector sharedKeyList) Constructs an extendable keystore from a serialized keystore created
by
PublicKeyStoreBuilder .
getCertificates(String subjectName) Returns the certificate(s) corresponding to a
subject name string.
Parameters: subjectName - subject name of the certificate in printable form.
Constructs an extendable keystore from a serialized keystore created
by
PublicKeyStoreBuilder .
Parameters: in - stream to read a keystore serialized byPublicKeyStoreBuilder.serialize(OutputStream) from exception: IOException - if the key storage was corrupted
Constructs an extendable keystore from a serialized keystore created
by
PublicKeyStoreBuilder .
Parameters: in - stream to read a keystore serialized byPublicKeyStoreBuilder.serialize(OutputStream) from Parameters: sharedKeyList - shared key list exception: IOException - if the key storage was corrupted
Returns the certificate(s) corresponding to a
subject name string.
Parameters: subjectName - subject name of the certificate in printable form. corresponding certificates or null (if not found)
Provides the keystore of resident public keys for
security domain owners and other CA's. Loads the public key store if
it has not already been loaded.
keystore of domain owner and CA keys See Also:WebPublicKeyStore.setTrustedKeyStore
loadCertificateAuthorities
public static void loadCertificateAuthorities()(Code)
Load the certificate authorities for the MIDP from storage
into the SSL keystore.
Methods inherited from com.sun.midp.publickeystore.PublicKeyStore