| public abstract static class java.security KeyStore.Builder
|
Java SE 6 |
An instance of this class encapsulates the information needed to instantiate and initialize a KeyStore object. That process is triggered when the #getKeyStore method is called.
This makes it possible to decouple configuration from KeyStore object creation and e.g. delay a password prompt until it is needed.
| since | 1.5 |
| See also | java.security.KeyStore, javax.net.ssl.KeyStoreBuilderParameters |
| Constructors | |
|---|---|
| protected | KeyStore.Builder() Construct a new Builder. |
| Methods | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static KeyStore.Builder | newInstance(KeyStore keyStore, KeyStore.ProtectionParameter protectionParameter) Details
Returns a new Builder that encapsulates the given KeyStore.
The #getKeyStore method of the returned object
will return keyStore, the getProtectionParameter() method will
return protectionParameters.
This is useful if an existing KeyStore object needs to be used with Builder-based APIs.
| ||||||||||||||
| public static KeyStore.Builder | newInstance(String type, Provider provider, File file, KeyStore.ProtectionParameter protection) Details
Returns a new Builder object.
The first call to the Subsequent calls to The KeyStore is instantiated from Calls to Note that the
| ||||||||||||||
| public static KeyStore.Builder | newInstance(String type, Provider provider, KeyStore.ProtectionParameter protection) Details
Returns a new Builder object.
Each call to the The KeyStore is instantiated from Calls to Note that the
| ||||||||||||||
| Properties | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract public KeyStore | getKeyStore() throws KeyStoreException Details
Returns the KeyStore described by this object.
| ||||||||||
| abstract public KeyStore.ProtectionParameter | getProtectionParameter(String alias) throws KeyStoreException Details
Returns the ProtectionParameters that should be used to obtain
the Entry with the given alias.
The getKeyStore method must be invoked before this
method may be called.
| ||||||||||
| About DocWeb · Bundles · Export · Export All | Top 10 · Statistics · Login |
| About Sun · Contact · Privacy · Terms of Use · Trademarks | Java SE 6 · Copyright © 1994-2013 Sun Microsystems, Inc.All rights reserved. Use is subject to license terms |
![]() |
![]() |
|