Skip to main content

attach

Function attach 

Source
pub fn attach(proof: &Map<String, Value>, signature: &[u8]) -> Result<Value>
Expand description

Attach a signature to an unsigned proof of its cryptosuite: base58btc for Ed25519, base64url for ML-DSA-44 and SLH-DSA-SHA2-128s.