Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 519
نمايش فراداده

KeyStore.Builderjava.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( )