SkPublicKey

data class SkPublicKey(val algorithm: SkAlgorithm, val rawKey: ByteArray, val application: String)(source)

Decoded SK public key.

Constructors

Link copied to clipboard
constructor(algorithm: SkAlgorithm, rawKey: ByteArray, application: String)

Properties

Link copied to clipboard

Which SK algorithm this key uses.

Link copied to clipboard

The relying-party identifier the key was bound to (typically "ssh:" for keys generated with ssh-keygen -t ed25519-sk).

Link copied to clipboard

Algorithm-specific raw public key bytes. For SkAlgorithm.ED25519 this is the 32-byte raw Ed25519 public key. For SkAlgorithm.ECDSA_P256 this is the uncompressed SEC1 point (0x04 || X(32) || Y(32), 65 bytes).

Functions

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