Struct x509_cert::request::ExtensionReq
source · pub struct ExtensionReq(pub Vec<Extension>);
Expand description
ExtensionReq
as defined in RFC 5272 Section 3.1.
ExtensionReq ::= SEQUENCE SIZE (1..MAX) OF Extension
Tuple Fields§
§0: Vec<Extension>
Trait Implementations§
source§impl AssociatedOid for ExtensionReq
impl AssociatedOid for ExtensionReq
source§const OID: ObjectIdentifier = ID_EXTENSION_REQ
const OID: ObjectIdentifier = ID_EXTENSION_REQ
The OID associated with this type.
source§impl Clone for ExtensionReq
impl Clone for ExtensionReq
source§fn clone(&self) -> ExtensionReq
fn clone(&self) -> ExtensionReq
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 ExtensionReq
impl Debug for ExtensionReq
source§impl<'a> DecodeValue<'a> for ExtensionReq
impl<'a> DecodeValue<'a> for ExtensionReq
source§impl Default for ExtensionReq
impl Default for ExtensionReq
source§fn default() -> ExtensionReq
fn default() -> ExtensionReq
Returns the “default value” for a type. Read more
source§impl<'a> EncodeValue for ExtensionReq
impl<'a> EncodeValue for ExtensionReq
source§impl<'a> FixedTag for ExtensionReq
impl<'a> FixedTag for ExtensionReq
source§impl<'a> From<ExtensionReq> for Vec<Extension>
impl<'a> From<ExtensionReq> for Vec<Extension>
source§fn from(value: ExtensionReq) -> Self
fn from(value: ExtensionReq) -> Self
Converts to this type from the input type.
source§impl PartialEq for ExtensionReq
impl PartialEq for ExtensionReq
source§fn eq(&self, other: &ExtensionReq) -> bool
fn eq(&self, other: &ExtensionReq) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<ExtensionReq> for Attribute
impl TryFrom<ExtensionReq> for Attribute
source§impl<'a> ValueOrd for ExtensionReq
impl<'a> ValueOrd for ExtensionReq
impl Eq for ExtensionReq
impl StructuralEq for ExtensionReq
impl StructuralPartialEq for ExtensionReq
Auto Trait Implementations§
impl RefUnwindSafe for ExtensionReq
impl Send for ExtensionReq
impl Sync for ExtensionReq
impl Unpin for ExtensionReq
impl UnwindSafe for ExtensionReq
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.