key/ed25519/public_key

Types

pub opaque type PublicKey

Functions

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