KeyStore.PrivateKeyEntry

public static final class KeyStore.PrivateKeyEntry extends Object
implements KeyStore.Entry

A KeyStore entry that holds a PrivateKey and corresponding certificate chain.

Public Constructor Summary

KeyStore.PrivateKeyEntry(PrivateKey privateKey, Certificate[] chain)
Constructs a PrivateKeyEntry with a PrivateKey and corresponding certificate chain.

Public Method Summary

Certificate
getCertificate()
Gets the end entity Certificate from the certificate chain in this entry.
Certificate[]
getCertificateChain()
Gets the Certificate chain from this entry.
PrivateKey
getPrivateKey()
Gets the PrivateKey from this entry.
String
toString()
Returns a string representation of this PrivateKeyEntry.

Inherited Method Summary