PublicKey
A 32 byte x25519 public key.
This would be the key a Hidden Service operator adds, to only allow connections from tor clients who have the X25519.PrivateKey associated with this X25519.PublicKey.
See also
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.
Produces the descriptor String using the Base32 encoding of the key in the form of descriptor:{algorithm}:{base32 encoded key}.
Produces the descriptor using the Base32 encoding of the key in the form of descriptor:{algorithm}:{base32 encoded key} as UTF-8 bytes.
Produces the descriptor String using the Base64 encoding of the key in the form of descriptor:{algorithm}:{base64 encoded key}.
Produces the descriptor using the Base64 encoding of the key in the form of descriptor:{algorithm}:{base64 encoded key} as UTF-8 bytes.
Returns the key in its primary encoding, or null if the key does not support encoding or Key.Private.isDestroyed is true.