Skip to main content

parse_ed25519_verifying

Function parse_ed25519_verifying 

Source
pub fn parse_ed25519_verifying(hex: &str) -> Result<VerifyingKey, CryptoError>
Expand description

Parse a 64-hex-char Ed25519 verifying (public) key — e.g. a configured trusted granter key for the trusted set of unwrap_org_key. Rejects a bad length or a non-canonical / small-order point (VerifyingKey::from_bytes validates).