Expand description
Typed v2 signing transcripts for every registered object code
(mirrors Go crypto_v2.go).
Enums§
- V2Object
Type - The closed v2 signed-object registry (SPEC-v2 §4).
Functions§
- key_
id_ v2 - Full 256-bit v2 key ID: hex(SHA-256(“ratify-key-id-v2\0” || ed25519 || ml_dsa_65)).
- public_
key_ v2 - Derive the hybrid public key of a private key (both components validated).
- v2_
mldsa_ context - ML-DSA-65 context string “ratify-protocol/2/XXXX”.
- v2_
signing_ message - M = “ratify-protocol-signature\0\x02” || code_be16 || SHA-384(signable).
- valid_
v2_ id - 64 lowercase hexadecimal characters (a full v2 key ID).
- verify_
v2_ message - Strict AND verification of both components over an already-computed
transcript
message, which must be exactly the 77-byte v2 signing message forobject_type(v2_signing_message); the ML-DSA-65 context is derived fromobject_type. For bindings that computeMthemselves. Every failure, including a message that is not a transcript forobject_type, isinvalid_signature. - verify_
v2_ statement - Strict AND verification of both components under a registered code.
- verify_
v2_ statement_ code - Strict AND verification of both components. An unregistered code is
unsupported_object_type; every other failure isinvalid_signature.