pub struct DecryptPkcs1 {
pub ciphertext: String,
pub display_id: Option<String>,
pub item_id: Option<i64>,
pub json: Option<bool>,
pub key_name: String,
pub output_format: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
pub version: Option<i32>,
}Fields§
§ciphertext: StringCiphertext to be decrypted in base64 encoded format
display_id: Option<String>The display id of the key to use in the decryption process
item_id: Option<i64>The item id of the key to use in the decryption process
json: Option<bool>Set output format to JSON
key_name: StringThe name of the key to use in the decryption process
output_format: Option<String>If specified, the output will be formatted accordingly. options: [base64]
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
version: Option<i32>key version (relevant only for classic key)
Implementations§
Source§impl DecryptPkcs1
impl DecryptPkcs1
pub fn new(ciphertext: String, key_name: String) -> DecryptPkcs1
Trait Implementations§
Source§impl Clone for DecryptPkcs1
impl Clone for DecryptPkcs1
Source§fn clone(&self) -> DecryptPkcs1
fn clone(&self) -> DecryptPkcs1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DecryptPkcs1
impl Debug for DecryptPkcs1
Source§impl Default for DecryptPkcs1
impl Default for DecryptPkcs1
Source§fn default() -> DecryptPkcs1
fn default() -> DecryptPkcs1
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DecryptPkcs1
impl<'de> Deserialize<'de> for DecryptPkcs1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DecryptPkcs1
impl PartialEq for DecryptPkcs1
Source§fn eq(&self, other: &DecryptPkcs1) -> bool
fn eq(&self, other: &DecryptPkcs1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DecryptPkcs1
impl Serialize for DecryptPkcs1
impl StructuralPartialEq for DecryptPkcs1
Auto Trait Implementations§
impl Freeze for DecryptPkcs1
impl RefUnwindSafe for DecryptPkcs1
impl Send for DecryptPkcs1
impl Sync for DecryptPkcs1
impl Unpin for DecryptPkcs1
impl UnsafeUnpin for DecryptPkcs1
impl UnwindSafe for DecryptPkcs1
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