pub fn is_default_optional_algorithm(alg: &Option<SigningAlgorithm>) -> boolExpand description
Returns true when the optional algorithm is either absent or equal to the
default (Ed25519). Used by #[serde(skip_serializing_if)] on envelope
fields so that legacy Ed25519 artifacts remain byte-identical on the wire.