pub struct ArchiveCutoff(pub OcspGeneralizedTime);
Expand description
ArchiveCutoff structure as defined in RFC 6960 Section 4.4.4.
ArchiveCutoff ::= GeneralizedTime
Tuple Fields§
§0: OcspGeneralizedTime
Trait Implementations§
Source§impl AsExtension for ArchiveCutoff
impl AsExtension for ArchiveCutoff
Source§impl<'a> AsMut<OcspGeneralizedTime> for ArchiveCutoff
impl<'a> AsMut<OcspGeneralizedTime> for ArchiveCutoff
Source§fn as_mut(&mut self) -> &mut OcspGeneralizedTime
fn as_mut(&mut self) -> &mut OcspGeneralizedTime
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl<'a> AsRef<OcspGeneralizedTime> for ArchiveCutoff
impl<'a> AsRef<OcspGeneralizedTime> for ArchiveCutoff
Source§fn as_ref(&self) -> &OcspGeneralizedTime
fn as_ref(&self) -> &OcspGeneralizedTime
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AssociatedOid for ArchiveCutoff
impl AssociatedOid for ArchiveCutoff
Source§const OID: ObjectIdentifier = ID_PKIX_OCSP_ARCHIVE_CUTOFF
const OID: ObjectIdentifier = ID_PKIX_OCSP_ARCHIVE_CUTOFF
The OID associated with this type.
Source§impl<'a> DecodeValue<'a> for ArchiveCutoff
impl<'a> DecodeValue<'a> for ArchiveCutoff
Source§impl<'a> EncodeValue for ArchiveCutoff
impl<'a> EncodeValue for ArchiveCutoff
Source§impl<'a> FixedTag for ArchiveCutoff
impl<'a> FixedTag for ArchiveCutoff
Source§impl<'a> From<ArchiveCutoff> for OcspGeneralizedTime
impl<'a> From<ArchiveCutoff> for OcspGeneralizedTime
Source§fn from(value: ArchiveCutoff) -> Self
fn from(value: ArchiveCutoff) -> Self
Converts to this type from the input type.
Source§impl<'a> From<OcspGeneralizedTime> for ArchiveCutoff
impl<'a> From<OcspGeneralizedTime> for ArchiveCutoff
Source§fn from(value: OcspGeneralizedTime) -> Self
fn from(value: OcspGeneralizedTime) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ArchiveCutoff
impl RefUnwindSafe for ArchiveCutoff
impl Send for ArchiveCutoff
impl Sync for ArchiveCutoff
impl Unpin for ArchiveCutoff
impl UnwindSafe for ArchiveCutoff
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
Source§impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
Source§impl<T> DynAssociatedOid for Twhere
T: AssociatedOid,
impl<T> DynAssociatedOid for Twhere
T: AssociatedOid,
Source§fn oid(&self) -> ObjectIdentifier
fn oid(&self) -> ObjectIdentifier
Get the OID associated with this value.
Source§impl<T> Encode for Twhere
T: EncodeValue + Tagged,
impl<T> Encode for Twhere
T: EncodeValue + Tagged,
Source§fn encoded_len(&self) -> Result<Length, Error>
fn encoded_len(&self) -> Result<Length, Error>
Compute the length of this value in bytes when encoded as ASN.1 DER.
Source§fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>
fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>
Encode this value as ASN.1 DER using the provided Writer
.
Source§fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
Encode this value to the provided byte slice, returning a sub-slice
containing the encoded message.