Package | Description |
---|---|
java.security | |
java.security.cert |
Modifier and Type | Method and Description |
---|---|
abstract Certificate |
KeyStoreSpi.engineGetCertificate(String alias)
Returns the certificate associated with the given alias.
|
abstract Certificate[] |
KeyStoreSpi.engineGetCertificateChain(String alias)
Returns the certificate chain associated with the given alias.
|
Certificate |
KeyStore.getCertificate(String alias)
Returns the certificate associated with the given alias.
|
Certificate[] |
KeyStore.getCertificateChain(String alias)
Returns the certificate chain associated with the given alias.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
KeyStoreSpi.engineSetCertificateEntry(String alias,
Certificate cert)
Assigns the given certificate to the given alias.
|
abstract void |
KeyStoreSpi.engineSetKeyEntry(String alias,
byte[] key,
Certificate[] chain)
Assigns the given key (that has already been protected) to the given alias.
|
void |
KeyStore.setCertificateEntry(String alias,
Certificate cert)
Assigns the given trusted certificate to the given alias.
|
void |
KeyStore.setKeyEntry(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 |
Modifier and Type | Method and Description |
---|---|
abstract Certificate |
CertificateFactorySpi.engineGenerateCertificate(InputStream inStream)
Generates a certificate object and initializes it with the data read from the input stream
inStream . |
Certificate |
CertificateFactory.generateCertificate(InputStream inStream)
Generates a certificate object and initializes it with the data read from the input stream
inStream . |