StaticnewCreate a new PublicKeys container with the given keys.
Returns the signing public key.
Returns the encapsulation public key.
Note: Named to match Rust's API (which has a typo but we maintain compatibility)
Verify a signature against a message.
Encapsulate a new shared secret using the encapsulation public key.
This implements the Encrypter interface, allowing PublicKeys to be used in encryption contexts where a shared secret needs to be generated.
A tuple of [SymmetricKey, EncapsulationCiphertext]
Returns a unique reference to this PublicKeys instance.
The reference is derived from the SHA-256 hash of the tagged CBOR representation, providing a unique, content-addressable identifier.
Get string representation.
Format matches Rust: PublicKeys(<short_reference>)
Returns the CBOR tags associated with PublicKeys.
Returns the untagged CBOR encoding.
Format: [
Returns the tagged CBOR encoding.
Returns the tagged value in CBOR binary representation.
StaticfromStaticfromStaticfromStatic method to decode from untagged CBOR binary data.
Returns the UR representation.
Returns the UR string representation.
StaticfromStaticfrom
PublicKeys - Container for a signing public key and an encapsulation public key.
This type provides a convenient way to share public keys for both signature verification and encryption operations.