pub struct AuthenticatedData {
pub version: CmsVersion,
pub originator_info: Option<OriginatorInfo>,
pub recipient_infos: RecipientInfos,
pub mac_algorithm: MessageAuthenticationCodeAlgorithm,
pub digest_algorithm: Option<DigestAlgorithmIdentifier>,
pub content_info: EncapsulatedContentInfo,
pub authenticated_attributes: Option<AuthAttributes>,
pub mac: MessageAuthenticationCode,
pub unauthenticated_attributes: Option<UnauthAttributes>,
}Expand description
Authenticated data.
AuthenticatedData ::= SEQUENCE {
version CMSVersion,
originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
recipientInfos RecipientInfos,
macAlgorithm MessageAuthenticationCodeAlgorithm,
digestAlgorithm [1] DigestAlgorithmIdentifier OPTIONAL,
encapContentInfo EncapsulatedContentInfo,
authAttrs [2] IMPLICIT AuthAttributes OPTIONAL,
mac MessageAuthenticationCode,
unauthAttrs [3] IMPLICIT UnauthAttributes OPTIONAL }Fields
version: CmsVersionoriginator_info: Option<OriginatorInfo>recipient_infos: RecipientInfosmac_algorithm: MessageAuthenticationCodeAlgorithmdigest_algorithm: Option<DigestAlgorithmIdentifier>content_info: EncapsulatedContentInfoauthenticated_attributes: Option<AuthAttributes>mac: MessageAuthenticationCodeunauthenticated_attributes: Option<UnauthAttributes>Trait Implementations
sourceimpl Clone for AuthenticatedData
impl Clone for AuthenticatedData
sourcefn clone(&self) -> AuthenticatedData
fn clone(&self) -> AuthenticatedData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for AuthenticatedData
impl Debug for AuthenticatedData
sourceimpl PartialEq<AuthenticatedData> for AuthenticatedData
impl PartialEq<AuthenticatedData> for AuthenticatedData
sourcefn eq(&self, other: &AuthenticatedData) -> bool
fn eq(&self, other: &AuthenticatedData) -> bool
impl Eq for AuthenticatedData
impl StructuralEq for AuthenticatedData
impl StructuralPartialEq for AuthenticatedData
Auto Trait Implementations
impl RefUnwindSafe for AuthenticatedData
impl Send for AuthenticatedData
impl Sync for AuthenticatedData
impl Unpin for AuthenticatedData
impl UnwindSafe for AuthenticatedData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.