Package | Description |
---|---|
java.security |
Provides the classes and interfaces for the security framework.
|
java.security.cert |
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
|
javax.net.ssl |
Provides classes for the secure socket package.
|
Modifier and Type | Method and Description |
---|---|
static KeyStore |
KeyStore.getInstance(String type)
Returns a keystore object of the specified type.
|
static KeyStore |
KeyStore.getInstance(String type,
Provider provider)
Returns a keystore object of the specified type.
|
static KeyStore |
KeyStore.getInstance(String type,
String provider)
Returns a keystore object of the specified type.
|
abstract KeyStore |
KeyStore.Builder.getKeyStore()
Returns the KeyStore described by this object.
|
Modifier and Type | Method and Description |
---|---|
static KeyStore.Builder |
KeyStore.Builder.newInstance(KeyStore keyStore,
KeyStore.ProtectionParameter protectionParameter)
Returns a new Builder that encapsulates the given KeyStore.
|
Constructor and Description |
---|
PKIXBuilderParameters(KeyStore keystore,
CertSelector targetConstraints)
Creates an instance of
PKIXBuilderParameters that
populates the set of most-trusted CAs from the trusted
certificate entries contained in the specified KeyStore . |
PKIXParameters(KeyStore keystore)
Creates an instance of
PKIXParameters that
populates the set of most-trusted CAs from the trusted
certificate entries contained in the specified KeyStore . |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
TrustManagerFactorySpi.engineInit(KeyStore ks)
Initializes this factory with a source of certificate
authorities and related trust material.
|
protected abstract void |
KeyManagerFactorySpi.engineInit(KeyStore ks,
char[] password)
Initializes this factory with a source of key material.
|
void |
TrustManagerFactory.init(KeyStore ks)
Initializes this factory with a source of certificate
authorities and related trust material.
|
void |
KeyManagerFactory.init(KeyStore ks,
char[] password)
Initializes this factory with a source of key material.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.