Liking cljdoc? Tell your friends :D

javax.net.ssl.KeyManagerFactory

This class acts as a factory for key managers based on a source of key material. Each key manager manages a specific type of key material for use by secure sockets. The key material is based on a KeyStore and/or provider specific sources.

This class acts as a factory for key managers based on a
source of key material. Each key manager manages a specific
type of key material for use by secure sockets. The key
material is based on a KeyStore and/or provider specific sources.
raw docstring

*get-default-algorithmclj

(*get-default-algorithm)

Obtains the default KeyManagerFactory algorithm name.

The default algorithm can be changed at runtime by setting the value of the ssl.KeyManagerFactory.algorithm security property to the desired algorithm name.

returns: the default algorithm name as specified by the ssl.KeyManagerFactory.algorithm security property, or an implementation-specific default if no such property exists. - java.lang.String

Obtains the default KeyManagerFactory algorithm name.

 The default algorithm can be changed at runtime by setting
 the value of the ssl.KeyManagerFactory.algorithm
 security property to the desired algorithm name.

returns: the default algorithm name as specified by the
          ssl.KeyManagerFactory.algorithm security property, or an
          implementation-specific default if no such property exists. - `java.lang.String`
raw docstring

*get-instanceclj

(*get-instance algorithm)
(*get-instance algorithm provider)

Returns a KeyManagerFactory object that acts as a factory for key managers.

A new KeyManagerFactory object encapsulating the KeyManagerFactorySpi implementation from the specified provider is returned. The specified provider must be registered in the security provider list.

Note that the list of registered providers may be retrieved via the Security.getProviders() method.

algorithm - the standard name of the requested algorithm. See the Java Secure Socket Extension Reference Guide for information about standard algorithm names. - java.lang.String provider - the name of the provider. - java.lang.String

returns: the new KeyManagerFactory object. - javax.net.ssl.KeyManagerFactory

throws: java.security.NoSuchAlgorithmException - if a KeyManagerFactorySpi implementation for the specified algorithm is not available from the specified provider.

Returns a KeyManagerFactory object that acts as a
 factory for key managers.

  A new KeyManagerFactory object encapsulating the
 KeyManagerFactorySpi implementation from the specified provider
 is returned.  The specified provider must be registered
 in the security provider list.

  Note that the list of registered providers may be retrieved via
 the Security.getProviders() method.

algorithm - the standard name of the requested algorithm. See the Java Secure Socket Extension Reference Guide for information about standard algorithm names. - `java.lang.String`
provider - the name of the provider. - `java.lang.String`

returns: the new KeyManagerFactory object. - `javax.net.ssl.KeyManagerFactory`

throws: java.security.NoSuchAlgorithmException - if a KeyManagerFactorySpi implementation for the specified algorithm is not available from the specified provider.
raw docstring

get-algorithmclj

(get-algorithm this)

Returns the algorithm name of this KeyManagerFactory object.

This is the same name that was specified in one of the getInstance calls that created this KeyManagerFactory object.

returns: the algorithm name of this KeyManagerFactory object. - java.lang.String

Returns the algorithm name of this KeyManagerFactory object.

 This is the same name that was specified in one of the
 getInstance calls that created this
 KeyManagerFactory object.

returns: the algorithm name of this KeyManagerFactory object. - `java.lang.String`
raw docstring

get-key-managersclj

(get-key-managers this)

Returns one key manager for each type of key material.

returns: the key managers - javax.net.ssl.KeyManager[]

throws: java.lang.IllegalStateException - if the KeyManagerFactory is not initialized

Returns one key manager for each type of key material.

returns: the key managers - `javax.net.ssl.KeyManager[]`

throws: java.lang.IllegalStateException - if the KeyManagerFactory is not initialized
raw docstring

get-providerclj

(get-provider this)

Returns the provider of this KeyManagerFactory object.

returns: the provider of this KeyManagerFactory object - java.security.Provider

Returns the provider of this KeyManagerFactory object.

returns: the provider of this KeyManagerFactory object - `java.security.Provider`
raw docstring

initclj

(init this spec)
(init this ks password)

Initializes this factory with a source of key material.

The provider typically uses a KeyStore for obtaining key material for use during secure socket negotiations. The KeyStore is generally password-protected.

For more flexible initialization, please see init(ManagerFactoryParameters).

ks - the key store or null - java.security.KeyStore password - the password for recovering keys in the KeyStore - char[]

throws: java.security.KeyStoreException - if this operation fails

Initializes this factory with a source of key material.

 The provider typically uses a KeyStore for obtaining
 key material for use during secure socket negotiations.
 The KeyStore is generally password-protected.

 For more flexible initialization, please see
 init(ManagerFactoryParameters).

ks - the key store or null - `java.security.KeyStore`
password - the password for recovering keys in the KeyStore - `char[]`

throws: java.security.KeyStoreException - if this operation fails
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close