Uses of Class
java.security.KeyStore
Package
Description
Provides the classes and interfaces for the security framework.
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
Provides classes for the secure socket package.
-
Uses of KeyStore in java.security
Modifier and TypeMethodDescriptionstatic final KeyStore
KeyStore.getInstance
(File file, char[] password) Returns a loaded keystore object of the appropriate keystore type.static final KeyStore
KeyStore.getInstance
(File file, KeyStore.LoadStoreParameter param) Returns a loaded keystore object of the appropriate keystore type.static KeyStore
KeyStore.getInstance
(String type) Returns a keystore object of the specified type.static KeyStore
KeyStore.getInstance
(String type, String provider) Returns a keystore object of the specified type.static KeyStore
KeyStore.getInstance
(String type, Provider provider) Returns a keystore object of the specified type.abstract KeyStore
KeyStore.Builder.getKeyStore()
Returns the KeyStore described by this object.Modifier and TypeMethodDescriptionstatic KeyStore.Builder
KeyStore.Builder.newInstance
(KeyStore keyStore, KeyStore.ProtectionParameter protectionParameter) Returns a new Builder that encapsulates the given KeyStore. -
Uses of KeyStore in java.security.cert
ModifierConstructorDescriptionPKIXBuilderParameters
(KeyStore keystore, CertSelector targetConstraints) Creates an instance ofPKIXBuilderParameters
that populates the set of most-trusted CAs from the trusted certificate entries contained in the specifiedKeyStore
.PKIXParameters
(KeyStore keystore) Creates an instance ofPKIXParameters
that populates the set of most-trusted CAs from the trusted certificate entries contained in the specifiedKeyStore
. -
Uses of KeyStore in javax.net.ssl
Modifier and TypeMethodDescriptionprotected abstract void
KeyManagerFactorySpi.engineInit
(KeyStore ks, char[] password) Initializes this factory with a source of key material.protected abstract void
TrustManagerFactorySpi.engineInit
(KeyStore ks) Initializes this factory with a source of certificate authorities and related trust material.final void
Initializes this factory with a source of key material.final void
Initializes this factory with a source of certificate authorities and related trust material.