| Package | Description | 
|---|---|
| java.security | |
| java.security.cert | |
| javax.crypto | 
| 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 | 
Signature.initVerify(Certificate certificate)
Initializes this object for verification, using the public key from the given certificate. 
 | 
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. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Cipher.init(int opmode,
    Certificate certificate)
Initializes this cipher with the public key from the given certificate. 
 | 
void | 
Cipher.init(int opmode,
    Certificate certificate,
    SecureRandom random)
Initializes this cipher with the public key from the given certificate and a source of randomness. 
 |