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
Returns a Base16 (uppercase) encoded CharArray of the raw key value.
Returns a Base16 (uppercase) encoded CharArray of the raw key value, or null if the key does not support encoding or Key.Private.isDestroyed is true.
Returns a Base16 (uppercase) encoded String of the raw key value, or null if the key does not support encoding or Key.Private.isDestroyed is true.
Returns a Base32 (uppercase & no padding) encoded CharArray of the raw key value.
Returns a Base32 (uppercase & no padding) encoded CharArray of the raw key value, or null if the key does not support encoding or Key.Private.isDestroyed is true.
Returns a Base32 (uppercase & no padding) encoded String of the raw key value, or null if the key does not support encoding or Key.Private.isDestroyed is true.
Returns a Base64 (no padding) encoded CharArray of the raw key value.
Returns a Base64 (no padding) encoded CharArray of the raw key value, or null if the key does not support encoding or Key.Private.isDestroyed is true.
Returns a Base64 (no padding) encoded String of the raw key value, or null if the key does not support encoding or Key.Private.isDestroyed is true.
Checks if a Destroyable instance has been destroyed or not.
Produces the descriptor String using the Base32 encoding of the key in the form of {onion address without .onion}:descriptor:{algorithm}:{base32 encoded key}.
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.
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.
Produces the descriptor using the Base32 encoding of the key in the form of {onion address without .onion}:descriptor:{algorithm}:{base32 encoded key} as UTF-8 bytes.
Produces the descriptor using the Base32 encoding of the key in the form of {onion address without .onion}:descriptor:{algorithm}:{base32 encoded key} as UTF-8 bytes, or null if either the publicKey is not compatible with this algorithm, or isDestroyed is true.
Produces the descriptor using the Base32 encoding of the key in the form of {onion address without .onion}:descriptor:{algorithm}:{base32 encoded key} as UTF-8 bytes, or null if either the address is not compatible with this algorithm, or isDestroyed is true.
Produces the descriptor String using the Base64 encoding of the key in the form of {onion address without .onion}:descriptor:{algorithm}:{base64 encoded key}.
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.
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.
Produces the descriptor using the Base64 encoding of the key in the form of {onion address without .onion}:descriptor:{algorithm}:{base64 encoded key} as UTF-8 bytes.
Produces the descriptor using the Base64 encoding of the key in the form of {onion address without .onion}:descriptor:{algorithm}:{base64 encoded key} as UTF-8 bytes, or null if either the publicKey is not compatible with this algorithm, or isDestroyed is true.
Produces the descriptor using the Base64 encoding of the key in the form of {onion address without .onion}:descriptor:{algorithm}:{base64 encoded key} as UTF-8 bytes, or null if either the address is not compatible with this algorithm, or isDestroyed is true.
Destroys the Key.Private, back-filling the underlying array with 0 bytes.
Creates an IllegalStateException with a default message of
Returns the key in its primary encoding, or null if the key does not support encoding or Key.Private.isDestroyed is true.