Key

expect sealed class Key(source)

Base abstraction for Public/Private keys used in tor.

Inheritors

actual sealed class Key : Key(source)

Base abstraction for Public/Private keys used in tor.

Inheritors

actual sealed class Key(source)

Base abstraction for Public/Private keys used in tor.

Inheritors

Types

Link copied to clipboard
expect sealed class Private(key: ByteArray) : Key, Destroyable
actual sealed class Private(key: ByteArray) : Key, Destroyable, PrivateKey
actual sealed class Private(key: ByteArray) : Key, Destroyable
Link copied to clipboard
expect sealed class Public : Key
actual sealed class Public : Key, PublicKey
actual sealed class Public : Key

Functions

Link copied to clipboard
expect abstract fun algorithm(): String
actual abstract fun algorithm(): String
actual abstract fun algorithm(): String
Link copied to clipboard
expect abstract fun base16OrNull(): String?
actual abstract fun base16OrNull(): String?
actual abstract fun base16OrNull(): String?
Link copied to clipboard
expect abstract fun base32OrNull(): String?
actual abstract fun base32OrNull(): String?
actual abstract fun base32OrNull(): String?
Link copied to clipboard
expect abstract fun base64OrNull(): String?
actual abstract fun base64OrNull(): String?
actual abstract fun base64OrNull(): String?
Link copied to clipboard
expect abstract fun encodedOrNull(): ByteArray?
actual abstract fun encodedOrNull(): ByteArray?
actual abstract fun encodedOrNull(): ByteArray?
Link copied to clipboard
override fun getAlgorithm(): String
Link copied to clipboard
override fun getEncoded(): ByteArray?
Link copied to clipboard
override fun getFormat(): String