Struct cms::builder::OtherRecipientInfoBuilder
source · pub struct OtherRecipientInfoBuilder {
pub ori_type: ObjectIdentifier,
pub ori_value: Any,
}
Available on crate feature
builder
only.Expand description
Builds an OtherRecipientInfo
according to RFC 5652 § 6.
This type makes no assumption about the encryption method or the needed information.
Fields§
§ori_type: ObjectIdentifier
Identifies the key management technique.
ori_value: Any
Contains the protocol data elements needed by a recipient using the identified key management technique
Implementations§
source§impl OtherRecipientInfoBuilder
impl OtherRecipientInfoBuilder
sourcepub fn new(
ori_type: ObjectIdentifier,
ori_value: Any
) -> Result<OtherRecipientInfoBuilder, Error>
pub fn new( ori_type: ObjectIdentifier, ori_value: Any ) -> Result<OtherRecipientInfoBuilder, Error>
Creates a OtherRecipientInfoBuilder
Trait Implementations§
source§impl RecipientInfoBuilder for OtherRecipientInfoBuilder
impl RecipientInfoBuilder for OtherRecipientInfoBuilder
source§fn recipient_info_type(&self) -> RecipientInfoType
fn recipient_info_type(&self) -> RecipientInfoType
Returns the RecipientInfoType
source§fn recipient_info_version(&self) -> CmsVersion
fn recipient_info_version(&self) -> CmsVersion
Returns the CMSVersion
for this RecipientInfo
Auto Trait Implementations§
impl RefUnwindSafe for OtherRecipientInfoBuilder
impl Send for OtherRecipientInfoBuilder
impl Sync for OtherRecipientInfoBuilder
impl Unpin for OtherRecipientInfoBuilder
impl UnwindSafe for OtherRecipientInfoBuilder
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