StaticfromStaticfromRestore an X25519PublicKey from a reference to an array of bytes. Validates the length.
StaticfromCreate an X25519PublicKey from raw bytes (legacy alias).
StaticfromGet a reference to the fixed-size array of bytes.
Get the raw public key bytes (copy).
Get hex string representation.
Get hex string representation (alias for hex()).
Get base64 representation.
Get string representation.
Returns the CBOR tags associated with X25519PublicKey.
Returns the untagged CBOR encoding (as a byte string).
Returns the tagged CBOR encoding.
Returns the tagged value in CBOR binary representation.
Creates an X25519PublicKey by decoding it from untagged CBOR.
Creates an X25519PublicKey by decoding it from tagged CBOR.
StaticfromStaticfromStatic method to decode from tagged CBOR binary data.
StaticfromStatic method to decode from untagged CBOR binary data.
Returns the UR representation of the X25519PublicKey. Note: URs use untagged CBOR since the type is conveyed by the UR type itself.
Returns the UR string representation.
StaticfromStaticfrom
Restore an X25519PublicKey from a fixed-size array of bytes.