Uses of Class
java.security.KeyStore
Packages that useKeyStore
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 ofKeyStore injava.security
Methods injava.security that returnKeyStoreModifier and TypeMethodDescriptionstatic finalKeyStoreKeyStore.getInstance(File file, char[] password) Returns a loaded keystore object of the appropriate keystore type.static finalKeyStoreKeyStore.getInstance(File file,KeyStore.LoadStoreParameter param) Returns a loaded keystore object of the appropriate keystore type.staticKeyStoreKeyStore.getInstance(String type) Returns aKeyStoreobject of the specified type.staticKeyStoreKeyStore.getInstance(String type,String provider) Returns aKeyStoreobject of the specified type.staticKeyStoreKeyStore.getInstance(String type,Provider provider) Returns aKeyStoreobject of the specified type.abstractKeyStoreKeyStore.Builder.getKeyStore()Returns theKeyStoredescribed by this object.Methods injava.security with parameters of typeKeyStoreModifier and TypeMethodDescriptionstaticKeyStore.BuilderKeyStore.Builder.newInstance(KeyStore keyStore,KeyStore.ProtectionParameter protectionParameter) Returns a newBuilderthat encapsulates the givenKeyStore.Uses ofKeyStore injava.security.cert
Constructors injava.security.cert with parameters of typeKeyStoreModifierConstructorDescriptionPKIXBuilderParameters(KeyStore keystore,CertSelector targetConstraints) Creates an instance ofPKIXBuilderParametersthat populates the set of most-trusted CAs from the trusted certificate entries contained in the specifiedKeyStore.PKIXParameters(KeyStore keystore) Creates an instance ofPKIXParametersthat populates the set of most-trusted CAs from the trusted certificate entries contained in the specifiedKeyStore.Uses ofKeyStore injavax.net.ssl
Methods injavax.net.ssl with parameters of typeKeyStoreModifier and TypeMethodDescriptionprotected abstract voidKeyManagerFactorySpi.engineInit(KeyStore ks, char[] password) Initializes this factory with a source of key material.protected abstract voidTrustManagerFactorySpi.engineInit(KeyStore ks) Initializes this factory with a source of certificate authorities and related trust material.final voidInitializes this factory with a source of key material.final voidInitializes this factory with a source of certificate authorities and related trust material.