pub enum Value<'a> {
Certificate(Certificate<'a>),
Crl(CertificateList<'a>),
Ocsp {
envelope: Response<'a>,
basic: Result<Option<BasicResponse<'a>>, Error>,
},
Timestamp(TimestampValue<'a>),
Unreadable(MaterialError),
}Expand description
Original parsed value, without authentication or a successful status claim.
Variants§
Certificate(Certificate<'a>)
Actual X.509 certificate.
Crl(CertificateList<'a>)
Actual complete or delta CertificateList.
Ocsp
Original whole OCSP envelope and its known basic payload, if available.
Fields
§
basic: Result<Option<BasicResponse<'a>>, Error>Parsed original known payload; absent is not a successful status.
Timestamp(TimestampValue<'a>)
Actual optional VRI time-stamp token.
Unreadable(MaterialError)
Original whole value was unreadable; raw bytes/placement remain owned by Validation and the located cause is not converted to absence.
Auto Trait Implementations§
impl<'a> !Freeze for Value<'a>
impl<'a> !RefUnwindSafe for Value<'a>
impl<'a> !Send for Value<'a>
impl<'a> !Sync for Value<'a>
impl<'a> !UnwindSafe for Value<'a>
impl<'a> Unpin for Value<'a>
impl<'a> UnsafeUnpin for Value<'a>
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