key/ed25519/signature

Types

pub opaque type Signature

Constants

pub const size: Int

Functions

pub fn create(
  private: PrivateKey,
  public: PublicKey,
  data: BitArray,
) -> Signature
pub fn deserialize(
  buf: BitArray,
) -> Result(#(Signature, BitArray), String)
pub fn deserialize_all(
  buf: BitArray,
) -> Result(Signature, String)
pub fn from_base64(base64: String) -> Result(Signature, String)
pub fn from_base64_url(
  base64_url: String,
) -> Result(Signature, String)
pub fn from_hex(hex: String) -> Result(Signature, String)
pub fn from_string(str: String) -> Result(Signature, String)
pub fn serialize(
  builder: BytesBuilder,
  sig: Signature,
) -> BytesBuilder
pub fn serialize_to_bits(sig: Signature) -> BitArray
pub fn to_base64(sig: Signature) -> String
pub fn to_base64_url(sig: Signature) -> String
pub fn to_hex(sig: Signature) -> String
Search Document