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: CmsVersion
§originator_info: Option<OriginatorInfo>
§recipient_infos: RecipientInfos
§mac_algorithm: MessageAuthenticationCodeAlgorithm
§digest_algorithm: Option<DigestAlgorithmIdentifier>
§content_info: EncapsulatedContentInfo
§authenticated_attributes: Option<AuthAttributes>
§mac: MessageAuthenticationCode
§unauthenticated_attributes: Option<UnauthAttributes>
Trait Implementations§
Source§impl Clone for AuthenticatedData
impl Clone for AuthenticatedData
Source§fn clone(&self) -> AuthenticatedData
fn clone(&self) -> AuthenticatedData
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 AuthenticatedData
impl Debug for AuthenticatedData
Source§impl PartialEq for AuthenticatedData
impl PartialEq for AuthenticatedData
impl Eq for AuthenticatedData
impl StructuralPartialEq for AuthenticatedData
Auto Trait Implementations§
impl !Freeze for AuthenticatedData
impl RefUnwindSafe for AuthenticatedData
impl Send for AuthenticatedData
impl Sync for AuthenticatedData
impl Unpin for AuthenticatedData
impl UnwindSafe for AuthenticatedData
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