pub struct Reference<N> { /* private fields */ }Expand description
One original Cert entry in the signed SigningCertificateV2 property.
The first entry identifies the signing certificate. Neither an optional URI
nor an issuer/serial hint substitutes for hashing the complete certificate.
Implementations§
Source§impl<N: Copy> Reference<N>
impl<N: Copy> Reference<N>
Sourcepub fn node(&self) -> N
pub fn node(&self) -> N
Original Cert node; its optional URI is a caller-owned acquisition hint.
Sourcepub fn method(&self) -> N
pub fn method(&self) -> N
Original ds:DigestMethod, including its algorithm URI and parameters.
Sourcepub fn digest(&self) -> N
pub fn digest(&self) -> N
Original ds:DigestValue, whose base64 decoding belongs to the XML owner.
Sourcepub fn issuer_serial(&self) -> Option<N>
pub fn issuer_serial(&self) -> Option<N>
Optional original base64 DER RFC5035 IssuerSerial hint.
Trait Implementations§
Auto Trait Implementations§
impl<N> Forget for Reference<N>
impl<N> Freeze for Reference<N>
impl<N> RefUnwindSafe for Reference<N>
impl<N> Send for Reference<N>
impl<N> Sync for Reference<N>
impl<N> Unpin for Reference<N>
impl<N> UnsafeUnpin for Reference<N>
impl<N> UnwindSafe for Reference<N>
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