pub fn inspect<'a>(
signer: &SignerInfo<'a>,
parent: &Reader<'a>,
scope: Scope<'a>,
) -> Result<Binding<'a>>Expand description
Checks content/type placement and singleton syntax before provider dispatch or payload I/O.
RFC5652 §§5.3, 11.1–11.4 requires content-type/message-digest for ordinary
signed attributes, forbids content-type in countersignatures, and requires
attributes for non-id-data. RFC6211 §2 requires one signed protection value
and the signature alternative in SignedData. This returns binding facts,
not a signature/trust verdict; protected identities still need the provider.
https://www.rfc-editor.org/rfc/rfc5652#section-11
https://www.rfc-editor.org/rfc/rfc6211#section-2