HardwareKeyInfo

class HardwareKeyInfo(val alias: String, publicKeyDer: ByteArray, val securityLevel: SecurityLevel)(source)

Public information about a key in a HardwareKeyStore.

Parameters

publicKeyDer

the DER-encoded X.509 SubjectPublicKeyInfo of the public key.

Constructors

Link copied to clipboard
constructor(alias: String, publicKeyDer: ByteArray, securityLevel: SecurityLevel)

Properties

Link copied to clipboard

the key's alias within its store.

Link copied to clipboard

The DER-encoded X.509 SubjectPublicKeyInfo of the public key; each call returns a copy.

Link copied to clipboard

where the private key actually lives.

Functions

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

Key information is equal when the alias, public key, and security level are equal.

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

Combines the alias, public key, and security level.

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

Describes the alias, security level, and public key size.