descriptorBase32OrNull

Produces the descriptor String using the Base32 encoding of the key in the form of {onion address without .onion}:descriptor:{algorithm}:{base32 encoded key}, or null if either the address is not compatible with this algorithm, or isDestroyed is true.

NOTE: This is the output for which would be written to a {name}.auth_private file in the directory specified by a config's TorOption.ClientOnionAuthDir.

NOTE: String is immutable and thus cannot be back-filled after use. One should prefer using descriptorBase32Utf8OrNull instead.

See also


Produces the descriptor String using the Base32 encoding of the key in the form of {onion address without .onion}:descriptor:{algorithm}:{base32 encoded key}, or null if either the publicKey is not compatible with this algorithm, or isDestroyed is true.

NOTE: This is the output for which would be written to a {name}.auth_private file in the directory specified by a config's TorOption.ClientOnionAuthDir.

NOTE: String is immutable and thus cannot be back-filled after use. One should prefer using descriptorBase32Utf8OrNull instead.

See also