pub struct IetfAttrSyntax<'a> { /* private fields */ }Expand description
Fully decoded IetfAttrSyntax with independently retained metadata storage.
The original document must remain alive; a shorter query need not.
Implementations§
Source§impl<'a> IetfAttrSyntax<'a>
impl<'a> IetfAttrSyntax<'a>
Sourcepub fn read(parent: &mut ScopedReader<'a, '_>) -> Result<Self>
pub fn read(parent: &mut ScopedReader<'a, '_>) -> Result<Self>
Reads one complete standalone DER value. A BER envelope does not relax the DER requirement of AC signed information (RFC5755 §4.1).
Sourcepub fn read_element(
parent: &ScopedReader<'a, '_>,
element: &Element<'a>,
) -> Result<Self>
pub fn read_element( parent: &ScopedReader<'a, '_>, element: &Element<'a>, ) -> Result<Self>
Decodes a whole original element in its producing context. Root headers and contents follow DER, preserving source offsets, nesting and current execution. No replacement Parser or retagged bytes are manufactured.
Sourcepub fn read_attribute<W: Work>(
attribute: &Attribute<'a>,
work: &W,
) -> Result<Self>
pub fn read_attribute<W: Work>( attribute: &Attribute<'a>, work: &W, ) -> Result<Self>
Reads a registered group or chargingIdentity Attribute. RFC5755
§§4.4.3–4.4.4 permit exactly one outer AttributeValue, with multiplicity
inside IetfAttrSyntax. OID/cardinality checks precede value decoding.
This does not infer group membership, authority trust or charging policy.
Original policyAuthority names, separate from AC issuer/trust.
Original IMPLICIT authority encoding, including its actual source range.