pub struct AcceptableResponses(pub Vec<ObjectIdentifier>);Expand description
AcceptableResponses structure as defined in RFC 6960 Section 4.4.3.
AcceptableResponses ::= SEQUENCE OF OBJECT IDENTIFIERTuple Fields§
§0: Vec<ObjectIdentifier>Trait Implementations§
Source§impl AsExtension for AcceptableResponses
impl AsExtension for AcceptableResponses
Source§impl<'a> AsMut<Vec<ObjectIdentifier>> for AcceptableResponses
impl<'a> AsMut<Vec<ObjectIdentifier>> for AcceptableResponses
Source§fn as_mut(&mut self) -> &mut Vec<ObjectIdentifier>
fn as_mut(&mut self) -> &mut Vec<ObjectIdentifier>
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl<'a> AsRef<Vec<ObjectIdentifier>> for AcceptableResponses
impl<'a> AsRef<Vec<ObjectIdentifier>> for AcceptableResponses
Source§fn as_ref(&self) -> &Vec<ObjectIdentifier>
fn as_ref(&self) -> &Vec<ObjectIdentifier>
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AssociatedOid for AcceptableResponses
impl AssociatedOid for AcceptableResponses
Source§const OID: ObjectIdentifier = ID_PKIX_OCSP_RESPONSE
const OID: ObjectIdentifier = ID_PKIX_OCSP_RESPONSE
The OID associated with this type.
Source§impl Clone for AcceptableResponses
impl Clone for AcceptableResponses
Source§fn clone(&self) -> AcceptableResponses
fn clone(&self) -> AcceptableResponses
Returns a duplicate 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 AcceptableResponses
impl Debug for AcceptableResponses
Source§impl<'a> DecodeValue<'a> for AcceptableResponses
impl<'a> DecodeValue<'a> for AcceptableResponses
Source§impl<'a> EncodeValue for AcceptableResponses
impl<'a> EncodeValue for AcceptableResponses
Source§impl<'a> FixedTag for AcceptableResponses
impl<'a> FixedTag for AcceptableResponses
Source§impl<'a> From<AcceptableResponses> for Vec<ObjectIdentifier>
impl<'a> From<AcceptableResponses> for Vec<ObjectIdentifier>
Source§fn from(value: AcceptableResponses) -> Self
fn from(value: AcceptableResponses) -> Self
Converts to this type from the input type.
Source§impl<'a> From<Vec<ObjectIdentifier>> for AcceptableResponses
impl<'a> From<Vec<ObjectIdentifier>> for AcceptableResponses
Source§fn from(value: Vec<ObjectIdentifier>) -> Self
fn from(value: Vec<ObjectIdentifier>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AcceptableResponses
impl PartialEq for AcceptableResponses
Source§impl<'a> ValueOrd for AcceptableResponses
impl<'a> ValueOrd for AcceptableResponses
impl Eq for AcceptableResponses
impl StructuralPartialEq for AcceptableResponses
Auto Trait Implementations§
impl Freeze for AcceptableResponses
impl RefUnwindSafe for AcceptableResponses
impl Send for AcceptableResponses
impl Sync for AcceptableResponses
impl Unpin for AcceptableResponses
impl UnwindSafe for AcceptableResponses
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.