descriptorBase64

fun descriptorBase64(address: OnionAddress): String(source)

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

See also

Throws

IllegalArgumentException

if the address is not a compatible OnionAddress for this algorithm.

IllegalStateException

if isDestroyed is true.


fun descriptorBase64(publicKey: AddressKey.Public): String(source)

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

See also

Throws

IllegalArgumentException

if the publicKey is not a compatible AddressKey.Public for this algorithm.

IllegalStateException

if isDestroyed is true.