public static final class KeyStore.TrustedCertificateEntry extends Object implements KeyStore.Entry
TrustedCertificateEntry represents a KeyStore entry that
holds a trusted certificate.| Constructor and Description |
|---|
TrustedCertificateEntry(Certificate trustCertificate)
Constructs a new instance of
TrustedCertificateEntry with the
given Certificate. |
| Modifier and Type | Method and Description |
|---|---|
Certificate |
getTrustedCertificate()
Returns the trusted certificate.
|
String |
toString()
Returns a string containing a concise, human-readable description of
this
TrustedCertificateEntry. |
public TrustedCertificateEntry(Certificate trustCertificate)
TrustedCertificateEntry with the
given Certificate.trustCertificate - the trusted certificate.NullPointerException - if trustCertificate is null.public Certificate getTrustedCertificate()