| Package | Description |
|---|---|
| java.security |
Contains core language classes related to permission management.
|
| java.security.cert |
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
KeyStoreSpi.engineLoad(java.io.InputStream stream,
char[] password)
Loads the keystore from the given input stream.
|
void |
KeyStore.load(java.io.InputStream stream,
char[] password)
Loads this KeyStore from the given input stream.
|
| 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(java.io.InputStream inStream)
Generates a certificate object and initializes it with
the data read from the input stream
inStream. |
abstract java.util.Collection<? extends Certificate> |
CertificateFactorySpi.engineGenerateCertificates(java.io.InputStream inStream)
Returns a (possibly empty) collection view of the certificates read
from the given input stream
inStream. |
CertPath |
CertificateFactorySpi.engineGenerateCertPath(java.io.InputStream inStream)
Generates a
CertPath object and initializes it with
the data read from the InputStream inStream. |
CertPath |
CertificateFactorySpi.engineGenerateCertPath(java.io.InputStream inStream,
java.lang.String encoding)
Generates a
CertPath object and initializes it with
the data read from the InputStream inStream. |
CertPath |
CertificateFactorySpi.engineGenerateCertPath(java.util.List<? extends Certificate> certificates)
Generates a
CertPath object and initializes it with
a List of Certificates. |
Certificate |
CertificateFactory.generateCertificate(java.io.InputStream inStream)
Generates a certificate object and initializes it with
the data read from the input stream
inStream. |
java.util.Collection<? extends Certificate> |
CertificateFactory.generateCertificates(java.io.InputStream inStream)
Returns a (possibly empty) collection view of the certificates read
from the given input stream
inStream. |
CertPath |
CertificateFactory.generateCertPath(java.io.InputStream inStream)
Generates a
CertPath object and initializes it with
the data read from the InputStream inStream. |
CertPath |
CertificateFactory.generateCertPath(java.io.InputStream inStream,
java.lang.String encoding)
Generates a
CertPath object and initializes it with
the data read from the InputStream inStream. |
CertPath |
CertificateFactory.generateCertPath(java.util.List<? extends Certificate> certificates)
Generates a
CertPath object and initializes it with
a List of Certificates. |
static CertificateFactory |
CertificateFactory.getInstance(java.lang.String type)
Returns a certificate factory object that implements the
specified certificate type.
|
abstract void |
Certificate.verify(PublicKey key)
Verifies that this certificate was signed using the
private key that corresponds to the specified public key.
|
abstract void |
Certificate.verify(PublicKey key,
java.lang.String sigProvider)
Verifies that this certificate was signed using the
private key that corresponds to the specified public key.
|