Struct cms::signed_data::SignerInfos
source · pub struct SignerInfos(pub SetOfVec<SignerInfo>);
Expand description
The SignerInfos
type is defined in RFC 5652 Section 5.1.
SignerInfos ::= SET OF SignerInfo
Tuple Fields§
§0: SetOfVec<SignerInfo>
Trait Implementations§
source§impl<'a> AsMut<SetOfVec<SignerInfo>> for SignerInfos
impl<'a> AsMut<SetOfVec<SignerInfo>> for SignerInfos
source§fn as_mut(&mut self) -> &mut SetOfVec<SignerInfo>
fn as_mut(&mut self) -> &mut SetOfVec<SignerInfo>
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl<'a> AsRef<SetOfVec<SignerInfo>> for SignerInfos
impl<'a> AsRef<SetOfVec<SignerInfo>> for SignerInfos
source§fn as_ref(&self) -> &SetOfVec<SignerInfo>
fn as_ref(&self) -> &SetOfVec<SignerInfo>
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for SignerInfos
impl Clone for SignerInfos
source§fn clone(&self) -> SignerInfos
fn clone(&self) -> SignerInfos
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 SignerInfos
impl Debug for SignerInfos
source§impl<'a> DecodeValue<'a> for SignerInfos
impl<'a> DecodeValue<'a> for SignerInfos
source§impl<'a> EncodeValue for SignerInfos
impl<'a> EncodeValue for SignerInfos
source§impl<'a> FixedTag for SignerInfos
impl<'a> FixedTag for SignerInfos
source§impl<'a> From<SetOfVec<SignerInfo>> for SignerInfos
impl<'a> From<SetOfVec<SignerInfo>> for SignerInfos
source§fn from(value: SetOfVec<SignerInfo>) -> Self
fn from(value: SetOfVec<SignerInfo>) -> Self
Converts to this type from the input type.
source§impl<'a> From<SignerInfos> for SetOfVec<SignerInfo>
impl<'a> From<SignerInfos> for SetOfVec<SignerInfo>
source§fn from(value: SignerInfos) -> Self
fn from(value: SignerInfos) -> Self
Converts to this type from the input type.
source§impl PartialEq for SignerInfos
impl PartialEq for SignerInfos
source§fn eq(&self, other: &SignerInfos) -> bool
fn eq(&self, other: &SignerInfos) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<Vec<SignerInfo>> for SignerInfos
Available on crate feature std
only.
impl TryFrom<Vec<SignerInfo>> for SignerInfos
Available on crate feature
std
only.source§fn try_from(vec: Vec<SignerInfo>) -> Result<SignerInfos>
fn try_from(vec: Vec<SignerInfo>) -> Result<SignerInfos>
Performs the conversion.
source§impl<'a> ValueOrd for SignerInfos
impl<'a> ValueOrd for SignerInfos
impl Eq for SignerInfos
impl StructuralEq for SignerInfos
impl StructuralPartialEq for SignerInfos
Auto Trait Implementations§
impl RefUnwindSafe for SignerInfos
impl Send for SignerInfos
impl Sync for SignerInfos
impl Unpin for SignerInfos
impl UnwindSafe for SignerInfos
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> 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.