pub struct Attribute {
pub oid: Vec<u64>,
pub values: Vec<Vec<u8>>,
}Expand description
One Attribute (RFC 5652 §5.3) — (attr_type, attr_values). The
values are surfaced as raw DER bytes so a caller can re-parse per
the OID’s contract without the scaffolding having to know every
signed-attribute schema in CAdES / PAdES / RFC 9216.
Fields§
§oid: Vec<u64>attrType OID arcs.
values: Vec<Vec<u8>>Raw DER bytes of each attrValues SET element. Each entry is
the bytes of one full TLV (tag + length + body), so the caller
can re-parse with super::der::read_tlv.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Attribute
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnsafeUnpin for Attribute
impl UnwindSafe for Attribute
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more