| Package | Description | 
|---|---|
| java.security | 
 Contains core language classes related to permission management. 
 | 
| java.security.cert | 
 Contains classes for certificate management. 
 | 
| javax.crypto | 
| Modifier and Type | Method and Description | 
|---|---|
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 | 
|---|---|
void | 
Signature.initVerify(Certificate certificate)
Initializes this object for verification, using the public key from
 the given certificate. 
 | 
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. | 
| 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. 
 |