KeyStore.Builder


KeyStore.Builder java.security

Java 5.0

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( )



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net