descriptorBase64OrNull

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

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

See also


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

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

See also