pub struct CrlNumber(pub Uint);
Expand description
CrlNumber as defined in RFC 5280 Section 5.2.3.
CRLNumber ::= INTEGER (0..MAX)
Tuple Fields§
§0: Uint
Trait Implementations§
source§impl AsExtension for CrlNumber
impl AsExtension for CrlNumber
source§impl AssociatedOid for CrlNumber
impl AssociatedOid for CrlNumber
source§const OID: ObjectIdentifier = ID_CE_CRL_NUMBER
const OID: ObjectIdentifier = ID_CE_CRL_NUMBER
The OID associated with this type.
source§impl<'a> DecodeValue<'a> for CrlNumber
impl<'a> DecodeValue<'a> for CrlNumber
source§impl<'a> EncodeValue for CrlNumber
impl<'a> EncodeValue for CrlNumber
source§impl PartialEq for CrlNumber
impl PartialEq for CrlNumber
impl Eq for CrlNumber
impl StructuralEq for CrlNumber
impl StructuralPartialEq for CrlNumber
Auto Trait Implementations§
impl RefUnwindSafe for CrlNumber
impl Send for CrlNumber
impl Sync for CrlNumber
impl Unpin for CrlNumber
impl UnwindSafe for CrlNumber
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.