Name
KeyStore.Builder
Synopsis
An instance of this class encapsulates the
parameters necessary to obtain a KeyStore
object
at some later time. This class is useful when you want to defer the
initialization of a KeyStore
(which may require
the user to enter a password) until it is needed. See the
javax.net.ssl.KeyStoreBuilderParameters
class, for
example.
public abstract static class KeyStore.Builder { // Protected Constructors protected Builder( ); // Public Class Methods public static KeyStore.Builder newInstance(KeyStore keyStore, KeyStore.ProtectionParameter protectionParameter); public static KeyStore.Builder newInstance(String type, Provider provider, KeyStore.ProtectionParameter protection); public static KeyStore.Builder newInstance(String type, Provider provider, java.io.File file, KeyStore.ProtectionParameter protection); // Public Instance Methods public abstract KeyStore getKeyStore( ) throws KeyStoreException; public abstract KeyStore.ProtectionParameter getProtectionParameter (String alias) throws KeyStoreException; }
Passed To
javax.net.ssl.KeyStoreBuilderParameters.KeyStoreBuilderParameters(
)
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.