pub struct BaseCrlNumber(pub Uint);
Expand description
BaseCRLNumber as defined in RFC 5280 Section 5.2.4.
BaseCRLNumber ::= CRLNumber
Tuple Fields§
§0: Uint
Trait Implementations§
source§impl AsExtension for BaseCrlNumber
impl AsExtension for BaseCrlNumber
source§impl<'a> AsMut<Uint> for BaseCrlNumber
impl<'a> AsMut<Uint> for BaseCrlNumber
source§impl<'a> AsRef<Uint> for BaseCrlNumber
impl<'a> AsRef<Uint> for BaseCrlNumber
source§impl AssociatedOid for BaseCrlNumber
impl AssociatedOid for BaseCrlNumber
source§const OID: ObjectIdentifier = ID_CE_DELTA_CRL_INDICATOR
const OID: ObjectIdentifier = ID_CE_DELTA_CRL_INDICATOR
The OID associated with this type.
source§impl Clone for BaseCrlNumber
impl Clone for BaseCrlNumber
source§fn clone(&self) -> BaseCrlNumber
fn clone(&self) -> BaseCrlNumber
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BaseCrlNumber
impl Debug for BaseCrlNumber
source§impl<'a> DecodeValue<'a> for BaseCrlNumber
impl<'a> DecodeValue<'a> for BaseCrlNumber
source§impl<'a> EncodeValue for BaseCrlNumber
impl<'a> EncodeValue for BaseCrlNumber
source§impl<'a> FixedTag for BaseCrlNumber
impl<'a> FixedTag for BaseCrlNumber
source§impl<'a> From<BaseCrlNumber> for Uint
impl<'a> From<BaseCrlNumber> for Uint
source§fn from(value: BaseCrlNumber) -> Self
fn from(value: BaseCrlNumber) -> Self
Converts to this type from the input type.
source§impl<'a> From<Uint> for BaseCrlNumber
impl<'a> From<Uint> for BaseCrlNumber
source§impl PartialEq for BaseCrlNumber
impl PartialEq for BaseCrlNumber
source§fn eq(&self, other: &BaseCrlNumber) -> bool
fn eq(&self, other: &BaseCrlNumber) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> ValueOrd for BaseCrlNumber
impl<'a> ValueOrd for BaseCrlNumber
impl Eq for BaseCrlNumber
impl StructuralEq for BaseCrlNumber
impl StructuralPartialEq for BaseCrlNumber
Auto Trait Implementations§
impl RefUnwindSafe for BaseCrlNumber
impl Send for BaseCrlNumber
impl Sync for BaseCrlNumber
impl Unpin for BaseCrlNumber
impl UnwindSafe for BaseCrlNumber
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.