Private

sealed class Private : Key.Private

Holder for a private key associated with a Hidden Service's client authentication configuration.

This would be the key added to a tor client by a user who wishes to connect to a Hidden Service that has been configured using the AuthKey.Public associated with this AuthKey.Private.

See also

Inheritors

Functions

Link copied to clipboard
expect abstract fun algorithm(): String
Link copied to clipboard
expect fun base16(): String
Link copied to clipboard
expect override fun base16OrNull(): String?
Link copied to clipboard
expect fun base32(): String
Link copied to clipboard
expect override fun base32OrNull(): String?
Link copied to clipboard
expect fun base64(): String
Link copied to clipboard
expect override fun base64OrNull(): String?
Link copied to clipboard

Checks if a Destroyable instance has been destroyed or not.

Link copied to clipboard

Produces the base 32 descriptor string for this AuthKey.Private in the form of {onion-address}:descriptor:{algorithm}:{base-32}.

Link copied to clipboard

Produces the base 32 descriptor string for this AuthKey.Private in the form of {address-w/o-.onion}:descriptor:{algorithm}:{base-32}, or null if isDestroyed is true.

Link copied to clipboard

Produces the base 64 descriptor string for this AuthKey.Private in the form of {address-w/o-.onion}:descriptor:{algorithm}:{base-64}.

Produces the base 64 descriptor string for this AuthKey.Private in the form of {address-w/o-.onion}:{algorithm}:{base-64}.

Link copied to clipboard

Produces the base 64 descriptor string for this AuthKey.Private in the form of {address-w/o-.onion}:descriptor:{algorithm}:{base-64}, or null if isDestroyed is true.

Link copied to clipboard
expect override fun destroy()
Link copied to clipboard
Link copied to clipboard
expect fun encoded(): ByteArray
Link copied to clipboard
expect override fun encodedOrNull(): ByteArray?
Link copied to clipboard
expect override fun isDestroyed(): Boolean