Package | Description |
---|---|
java.security |
Contains core language classes related to permission management.
|
java.security.cert |
Contains classes for certificate management.
|
Modifier and Type | Method and Description |
---|---|
abstract Certificate |
KeyStoreSpi.engineGetCertificate(java.lang.String alias)
Returns the certificate associated with the given alias.
|
abstract Certificate[] |
KeyStoreSpi.engineGetCertificateChain(java.lang.String alias)
Returns the certificate chain associated with the given alias.
|
Certificate |
KeyStore.getCertificate(java.lang.String alias)
Returns the certificate associated with the given alias.
|
Certificate[] |
KeyStore.getCertificateChain(java.lang.String alias)
Returns the certificate chain associated with the given alias.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
KeyStoreSpi.engineSetCertificateEntry(java.lang.String alias,
Certificate cert)
Assigns the given certificate to the given alias.
|
abstract void |
KeyStoreSpi.engineSetKeyEntry(java.lang.String alias,
byte[] key,
Certificate[] chain)
Assigns the given key (that has already been protected) to the given
alias.
|
void |
KeyStore.setCertificateEntry(java.lang.String alias,
Certificate cert)
Assigns the given trusted certificate to the given alias.
|
void |
KeyStore.setKeyEntry(java.lang.String alias,
byte[] key,
Certificate[] chain)
Assigns the given key (that has already been protected) to the given
alias.
|
Modifier and Type | Class and Description |
---|---|
class |
X509Certificate
Abstract class for X.509 certificates.
|
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 . |
Certificate |
CertificateFactory.generateCertificate(java.io.InputStream inStream)
Generates a certificate object and initializes it with
the data read from the input stream
inStream . |