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(
builder: BytesBuilder,
proof: SignatureProof,
) -> BytesBuilder
pub fn serialize_to_bits(proof: SignatureProof) -> BitArray
pub fn serialize_webauthn_fields(
builder: BytesBuilder,
fields: WebauthnFields,
) -> BytesBuilder
pub fn single_sig(
public_key: PublicKey,
signature: Signature,
) -> SignatureProof
pub fn single_sig_webauthn(
public_key: PublicKey,
signature: Signature,
webauthn_fields: WebauthnFields,
) -> SignatureProof