Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static final class

KeyStore.TrustedCertificateEntry

extends Object
implements KeyStore.Entry
java.lang.Object
   ↳ java.security.KeyStore.TrustedCertificateEntry

Class Overview

TrustedCertificateEntry represents a KeyStore entry that holds a trusted certificate.

Summary

Public Constructors
KeyStore.TrustedCertificateEntry ( Certificate trustCertificate)
Constructs a new instance of TrustedCertificateEntry with the given Certificate .
Public Methods
Certificate getTrustedCertificate ()
Returns the trusted certificate.
String toString ()
Returns a string containing a concise, human-readable description of this TrustedCertificateEntry .
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public KeyStore.TrustedCertificateEntry ( Certificate trustCertificate)

Added in API level 1

Constructs a new instance of TrustedCertificateEntry with the given Certificate .

Parameters
trustCertificate the trusted certificate.
Throws
NullPointerException if trustCertificate is null .

Public Methods

public Certificate getTrustedCertificate ()

Added in API level 1

Returns the trusted certificate.

Returns
  • the trusted certificate.

public String toString ()

Added in API level 1

Returns a string containing a concise, human-readable description of this TrustedCertificateEntry .

Returns
  • a printable representation for this TrustedCertificateEntry .