StaticfromRestore an ECUncompressedPublicKey from a fixed-size array of bytes.
StaticfromRestore an ECUncompressedPublicKey from a reference to an array of bytes. Validates the length.
StaticfromCreate an ECUncompressedPublicKey from raw bytes (legacy alias).
StaticfromRestore an ECUncompressedPublicKey from a hex string.
Get 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.
Convert to compressed public key format. Note: Returns the compressed bytes. To get ECPublicKey, use the ec-public-key module.
Compare with another ECUncompressedPublicKey.
Get string representation.
Returns the CBOR tags associated with ECUncompressedPublicKey.
Returns the untagged CBOR encoding.
Format: { 3: h'<65-byte-key>' }
Returns the tagged CBOR encoding.
Returns the tagged value in CBOR binary representation.
Creates an ECUncompressedPublicKey by decoding it from untagged CBOR.
Format: { 3: h'<65-byte-key>' }
Creates an ECUncompressedPublicKey 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 ECUncompressedPublicKey. Note: URs use untagged CBOR since the type is conveyed by the UR type itself.
Returns the UR string representation.
StaticfromStaticfromCreates an ECUncompressedPublicKey from a UR string.
A base interface for all elliptic curve keys.
This interface defines common functionality for all elliptic curve keys, including both private and public keys. It provides methods for key construction from binary data and hexadecimal strings, as well as conversion to hexadecimal format.
All EC key types have a fixed size depending on their specific type: