pub fn deserialize(
buf: BitArray,
) -> Result(#(SignatureProof, BitArray), String)
pub fn deserialize_all(
buf: BitArray,
) -> Result(SignatureProof, String)
pub fn deserialize_type_and_flags_byte(
buf: BitArray,
) -> Result(
#(
#(SignatureProofAlgorithm, Option(SignatureProofFlags)),
BitArray,
),
String,
)
pub fn deserialize_webauthn_fields(
buf: BitArray,
) -> Result(#(WebauthnFields, BitArray), String)
pub fn make_type_and_flags_byte(proof: SignatureProof) -> Int
pub fn parse_type_and_flags_byte(
byte: Int,
) -> Result(
#(SignatureProofAlgorithm, Option(SignatureProofFlags)),
String,
)
pub fn serialize(proof: SignatureProof) -> BitArray
pub fn serialize_webauthn_fields(
fields: WebauthnFields,
) -> BitArray
pub fn single_sig(
public_key: PublicKey,
signature: Signature,
) -> SignatureProof
pub fn single_sig_webauthn(
public_key: PublicKey,
signature: Signature,
webauthn_fields: WebauthnFields,
) -> SignatureProof