CertificateInfo

class CertificateInfo(val alias: String, certificateChainDer: List<ByteArray>, val hasPrivateKey: Boolean)(source)

A certificate chain stored in a CertificateStore, leaf certificate first.

Parameters

certificateChainDer

the DER-encoded X.509 certificates, leaf first.

Constructors

Link copied to clipboard
constructor(alias: String, certificateChainDer: List<ByteArray>, hasPrivateKey: Boolean)

Properties

Link copied to clipboard

the entry's alias within its store.

Link copied to clipboard

The DER-encoded X.509 certificates, leaf first; each call returns copies.

Link copied to clipboard

whether the entry is an identity whose private key is stored natively.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Entries are equal when the alias, private-key flag, and every certificate are equal.

Link copied to clipboard
open override fun hashCode(): Int

Combines the alias, private-key flag, and certificates.

Link copied to clipboard
open override fun toString(): String

Describes the alias, private-key flag, and chain length.