pub struct CrlId {
pub crl_url: Option<Ia5String>,
pub crl_num: Option<Uint>,
pub crl_time: Option<OcspGeneralizedTime>,
}Expand description
CrlID structure as defined in RFC 6960 Section 4.4.2.
CrlID ::= SEQUENCE {
crlUrl [0] EXPLICIT IA5String OPTIONAL,
crlNum [1] EXPLICIT INTEGER OPTIONAL,
crlTime [2] EXPLICIT GeneralizedTime OPTIONAL }Fields§
§crl_url: Option<Ia5String>§crl_num: Option<Uint>§crl_time: Option<OcspGeneralizedTime>Trait Implementations§
Source§impl AsExtension for CrlId
impl AsExtension for CrlId
Source§impl AssociatedOid for CrlId
impl AssociatedOid for CrlId
Source§const OID: ObjectIdentifier = ID_PKIX_OCSP_CRL
const OID: ObjectIdentifier = ID_PKIX_OCSP_CRL
The OID associated with this type.
Source§impl<'__der_lifetime> DecodeValue<'__der_lifetime> for CrlId
impl<'__der_lifetime> DecodeValue<'__der_lifetime> for CrlId
Source§impl<'__der_lifetime> EncodeValue for CrlId
impl<'__der_lifetime> EncodeValue for CrlId
impl Eq for CrlId
impl<'__der_lifetime> Sequence<'__der_lifetime> for CrlId
impl StructuralPartialEq for CrlId
Auto Trait Implementations§
impl Freeze for CrlId
impl RefUnwindSafe for CrlId
impl Send for CrlId
impl Sync for CrlId
impl Unpin for CrlId
impl UnwindSafe for CrlId
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.