#[repr(C)]pub struct VerificationRequest {
pub algorithm: Bytes,
pub key_format: u32,
pub key: Bytes,
pub scheme: u32,
pub digest: Bytes,
pub mgf_digest: Bytes,
pub salt_length: u64,
pub context: Bytes,
pub message_encoding: u32,
}Expand description
Exact public verification parameters. Empty digest names mean no digest; unused fields must be zero/empty. PQC encoding is 1 for engine framing and 0 when Fe11 already supplied its exact FIPS frame. Context is not applied twice. For scheme::EDDSA, message_encoding is an eddsa_instance code, digest/MGF names and salt must be empty/zero, and input is the original message.
Fields§
§algorithm: BytesUTF-8 public-key algorithm name without NUL bytes.
key_format: u32Public-key representation selected from key_format.
key: BytesComplete public-key encoding in the selected format, borrowed through the call.
scheme: u32Signature operation selected from scheme.
digest: BytesExplicit message-digest name; empty for a scheme without a separate digest.
mgf_digest: BytesRSA-PSS MGF1 digest name; empty for other schemes.
salt_length: u64Exact RSA-PSS salt length in bytes; zero for other schemes.
context: BytesEdDSA or PQC domain-separation context; empty when unused.
message_encoding: u32For EDDSA, an eddsa_instance code; for PQC, 1 for engine framing or 0 for an already framed message; zero otherwise.
Trait Implementations§
Source§impl Clone for VerificationRequest
impl Clone for VerificationRequest
Source§fn clone(&self) -> VerificationRequest
fn clone(&self) -> VerificationRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more