Uses of Class
java.security.KeyStore
| Package | Description |
|---|---|
| java.security |
Extensible cryptographic service provider infrastructure (SPI) for using
and defining services such as
Certificates,
Keys, KeyStores, MessageDigests, and Signatures. |
| java.security.cert |
This package provides all the classes and all the interfaces needed to generate, administer and verify
X.509 certificates.
|
| javax.net.ssl |
This package provides classes and interfaces needed to use the Secure
Sockets Layer (SSL) protocol and the successor Transport Layer
Security (TLS) protocol.
|
| org.apache.http.conn.ssl |
TLS/SSL specific parts of the HttpConn API.
|
| org.conscrypt |
-
Uses of KeyStore in java.security
Methods in java.security that return KeyStore Modifier and Type Method Description static KeyStoreKeyStore. getInstance(String type)Returns a new instance ofKeyStorewith the specified type.static KeyStoreKeyStore. getInstance(String type, String provider)Returns a new instance ofKeyStorefrom the specified provider with the given type.static KeyStoreKeyStore. getInstance(String type, Provider provider)Returns a new instance ofKeyStorefrom the specified provider with the given type.abstract KeyStoreKeyStore.Builder. getKeyStore()Returns theKeyStorecreated by thisBuilder.Methods in java.security with parameters of type KeyStore Modifier and Type Method Description static KeyStore.BuilderKeyStore.Builder. newInstance(KeyStore keyStore, KeyStore.ProtectionParameter protectionParameter)Returns a newBuilderthat holds the givenKeyStoreand the givenProtectionParameter. -
Uses of KeyStore in java.security.cert
Constructors in java.security.cert with parameters of type KeyStore Constructor Description PKIXBuilderParameters(KeyStore keyStore, CertSelector targetConstraints)Creates a newPKIXBuilderParametersinstance with the trustedX509Certificateentries from the specifiedKeyStore.PKIXParameters(KeyStore keyStore)Creates a newPKIXParametersinstance with the trustedX509Certificateentries from the specifiedKeyStore. -
Uses of KeyStore in javax.net.ssl
Methods in javax.net.ssl with parameters of type KeyStore Modifier and Type Method Description protected abstract voidKeyManagerFactorySpi. engineInit(KeyStore ks, char[] password)Initializes this instance with the specified key store and password.protected abstract voidTrustManagerFactorySpi. engineInit(KeyStore ks)Initializes this factory instance with the specified keystore as source of certificate authorities and trust material.voidKeyManagerFactory. init(KeyStore ks, char[] password)Initializes this instance with the specified key store and password.voidTrustManagerFactory. init(KeyStore ks)Initializes this factory instance with the specified keystore as source of certificate authorities and trust material. -
Uses of KeyStore in org.apache.http.conn.ssl
Constructors in org.apache.http.conn.ssl with parameters of type KeyStore Constructor Description SSLSocketFactory(String algorithm, KeyStore keystore, String keystorePassword, KeyStore truststore, SecureRandom random, HostNameResolver nameResolver)SSLSocketFactory(KeyStore truststore)SSLSocketFactory(KeyStore keystore, String keystorePassword)SSLSocketFactory(KeyStore keystore, String keystorePassword, KeyStore truststore) -
Uses of KeyStore in org.conscrypt
Methods in org.conscrypt with parameters of type KeyStore Modifier and Type Method Description protected voidKeyManagerFactoryImpl. engineInit(KeyStore ks, char[] password)voidTrustManagerFactoryImpl. engineInit(KeyStore ks)Constructors in org.conscrypt with parameters of type KeyStore Constructor Description KeyManagerImpl(KeyStore keyStore, char[] pwd)Creates Key managerTrustManagerImpl(KeyStore keyStore)Creates X509TrustManager based on a keystoreTrustManagerImpl(KeyStore keyStore, CertPinManager manager)For testing only