pub struct PreferredSignatureAlgorithms(pub Vec<PreferredSignatureAlgorithm>);Expand description
PreferredSignatureAlgorithms structure as defined in RFC 6960 Section 4.4.7.1.
PreferredSignatureAlgorithms ::= SEQUENCE OF PreferredSignatureAlgorithmTuple Fields§
§0: Vec<PreferredSignatureAlgorithm>Trait Implementations§
Source§impl<'a> AsMut<Vec<PreferredSignatureAlgorithm>> for PreferredSignatureAlgorithms
impl<'a> AsMut<Vec<PreferredSignatureAlgorithm>> for PreferredSignatureAlgorithms
Source§fn as_mut(&mut self) -> &mut Vec<PreferredSignatureAlgorithm>
fn as_mut(&mut self) -> &mut Vec<PreferredSignatureAlgorithm>
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl<'a> AsRef<Vec<PreferredSignatureAlgorithm>> for PreferredSignatureAlgorithms
impl<'a> AsRef<Vec<PreferredSignatureAlgorithm>> for PreferredSignatureAlgorithms
Source§fn as_ref(&self) -> &Vec<PreferredSignatureAlgorithm>
fn as_ref(&self) -> &Vec<PreferredSignatureAlgorithm>
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AssociatedOid for PreferredSignatureAlgorithms
impl AssociatedOid for PreferredSignatureAlgorithms
Source§const OID: ObjectIdentifier = ID_PKIX_OCSP_PREF_SIG_ALGS
const OID: ObjectIdentifier = ID_PKIX_OCSP_PREF_SIG_ALGS
The OID associated with this type.
Source§impl Clone for PreferredSignatureAlgorithms
impl Clone for PreferredSignatureAlgorithms
Source§fn clone(&self) -> PreferredSignatureAlgorithms
fn clone(&self) -> PreferredSignatureAlgorithms
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 PreferredSignatureAlgorithms
impl Debug for PreferredSignatureAlgorithms
Source§impl<'a> DecodeValue<'a> for PreferredSignatureAlgorithms
impl<'a> DecodeValue<'a> for PreferredSignatureAlgorithms
Source§impl<'a> EncodeValue for PreferredSignatureAlgorithms
impl<'a> EncodeValue for PreferredSignatureAlgorithms
Source§impl<'a> FixedTag for PreferredSignatureAlgorithms
impl<'a> FixedTag for PreferredSignatureAlgorithms
Source§impl<'a> From<PreferredSignatureAlgorithms> for Vec<PreferredSignatureAlgorithm>
impl<'a> From<PreferredSignatureAlgorithms> for Vec<PreferredSignatureAlgorithm>
Source§fn from(value: PreferredSignatureAlgorithms) -> Self
fn from(value: PreferredSignatureAlgorithms) -> Self
Converts to this type from the input type.
Source§impl<'a> From<Vec<PreferredSignatureAlgorithm>> for PreferredSignatureAlgorithms
impl<'a> From<Vec<PreferredSignatureAlgorithm>> for PreferredSignatureAlgorithms
Source§fn from(value: Vec<PreferredSignatureAlgorithm>) -> Self
fn from(value: Vec<PreferredSignatureAlgorithm>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PreferredSignatureAlgorithms
impl PartialEq for PreferredSignatureAlgorithms
Source§fn eq(&self, other: &PreferredSignatureAlgorithms) -> bool
fn eq(&self, other: &PreferredSignatureAlgorithms) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> ValueOrd for PreferredSignatureAlgorithms
impl<'a> ValueOrd for PreferredSignatureAlgorithms
impl Eq for PreferredSignatureAlgorithms
impl StructuralPartialEq for PreferredSignatureAlgorithms
Auto Trait Implementations§
impl Freeze for PreferredSignatureAlgorithms
impl RefUnwindSafe for PreferredSignatureAlgorithms
impl Send for PreferredSignatureAlgorithms
impl Sync for PreferredSignatureAlgorithms
impl Unpin for PreferredSignatureAlgorithms
impl UnwindSafe for PreferredSignatureAlgorithms
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.