| 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 |
|---|---|
abstract void |
KeyStoreSpi.engineLoad(InputStream
Loads the keystore from the given input stream.
|
void |
KeyStoreSpi.engineLoad(KeyStore
Loads the keystore using the given
KeyStore.LoadStoreParameter.
|
void |
KeyStoreSpi.engineStore(KeyStore
Stores this keystore using the given
KeyStore.LoadStoreParmeter.
|
abstract void |
KeyStoreSpi.engineStore(OutputStream
Stores this keystore to the given output stream, and protects its integrity with the given password.
|
void |
KeyStore.load(InputStream
Loads this KeyStore from the given input stream.
|
void |
KeyStore.load(KeyStore
Loads this keystore using the given
LoadStoreParameter.
|
void |
KeyStore.store(KeyStore
Stores this keystore using the given
LoadStoreParameter.
|
void |
KeyStore.store(OutputStream
Stores this keystore to the given output stream, and protects its integrity with the given password.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CertificateEncodingException
Certificate Encoding Exception.
|
class |
CertificateExpiredException
Certificate Expired Exception.
|
class |
CertificateNotYetValidException
Certificate is not yet valid exception.
|
class |
CertificateParsingException
Certificate Parsing Exception.
|
class |
CertificateRevokedException
An exception that indicates an X.509 certificate is revoked.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Certificate |
CertificateFactorySpi.engineGenerateCertificate(InputStream
Generates a certificate object and initializes it with the data read from the input stream
inStream.
|
abstract Collection |
CertificateFactorySpi.engineGenerateCertificates(InputStream
Returns a (possibly empty) collection view of the certificates read from the given input stream
inStream.
|
CertPath |
CertificateFactorySpi.engineGenerateCertPath(InputStream
Generates a
CertPath object and initializes it with the data read from the
InputStream inStream.
|
CertPath |
CertificateFactorySpi.engineGenerateCertPath(InputStream
Generates a
CertPath object and initializes it with the data read from the
InputStream inStream.
|
CertPath |
CertificateFactorySpi.engineGenerateCertPath(List
Generates a
CertPath object and initializes it with a
List of
Certificates.
|
Certificate |
CertificateFactory.generateCertificate(InputStream
Generates a certificate object and initializes it with the data read from the input stream
inStream.
|
Collection |
CertificateFactory.generateCertificates(InputStream
Returns a (possibly empty) collection view of the certificates read from the given input stream
inStream.
|
CertPath |
CertificateFactory.generateCertPath(InputStream
Generates a
CertPath object and initializes it with the data read from the
InputStream inStream.
|
CertPath |
CertificateFactory.generateCertPath(InputStream
Generates a
CertPath object and initializes it with the data read from the
InputStream inStream.
|
CertPath |
CertificateFactory.generateCertPath(List
Generates a
CertPath object and initializes it with a
List of
Certificates.
|
static CertificateFactory |
CertificateFactory.getInstance(String
Returns a certificate factory object that implements the specified certificate type.
|
static CertificateFactory |
CertificateFactory.getInstance(String
Returns a certificate factory object for the specified certificate type.
|
static CertificateFactory |
CertificateFactory.getInstance(String
Returns a certificate factory object for the specified certificate type.
|
abstract void |
Certificate.verify(PublicKey
Verifies that this certificate was signed using the private key that corresponds to the specified public key.
|
void |
Certificate.verify(PublicKey
Verifies that this certificate was signed using the private key that corresponds to the specified public key.
|
void |
X509Certificate.verify(PublicKey
Verifies that this certificate was signed using the private key that corresponds to the specified public key.
|
abstract void |
Certificate.verify(PublicKey
Verifies that this certificate was signed using the private key that corresponds to the specified public key.
|
| Modifier and Type | Method and Description |
|---|---|
void |
X509TrustManager.checkClientTrusted(X509Certificate
Given the partial or complete certificate chain provided by the peer, build a certificate path to a trusted root and return if it can be validated and is trusted for client SSL authentication based on the authentication type.
|
abstract void |
X509ExtendedTrustManager.checkClientTrusted(X509Certificate
Given the partial or complete certificate chain provided by the peer, build and validate the certificate path based on the authentication type and ssl parameters.
|
abstract void |
X509ExtendedTrustManager.checkClientTrusted(X509Certificate
Given the partial or complete certificate chain provided by the peer, build and validate the certificate path based on the authentication type and ssl parameters.
|
void |
X509TrustManager.checkServerTrusted(X509Certificate
Given the partial or complete certificate chain provided by the peer, build a certificate path to a trusted root and return if it can be validated and is trusted for server SSL authentication based on the authentication type.
|
abstract void |
X509ExtendedTrustManager.checkServerTrusted(X509Certificate
Given the partial or complete certificate chain provided by the peer, build and validate the certificate path based on the authentication type and ssl parameters.
|
abstract void |
X509ExtendedTrustManager.checkServerTrusted(X509Certificate
Given the partial or complete certificate chain provided by the peer, build and validate the certificate path based on the authentication type and ssl parameters.
|