pub struct VerifyPkcs1 {
pub display_id: Option<String>,
pub hash_function: Option<String>,
pub input_format: Option<String>,
pub item_id: Option<i64>,
pub json: Option<bool>,
pub key_name: String,
pub message: String,
pub prehashed: Option<bool>,
pub signature: String,
pub token: Option<String>,
pub uid_token: Option<String>,
pub version: Option<i32>,
}Fields§
§display_id: Option<String>The display id of the key to use in the verification process
hash_function: Option<String>HashFunction defines the hash function (e.g. sha-256)
input_format: Option<String>Select default assumed format for the plaintext message. Currently supported options: [base64]
item_id: Option<i64>The item id of the key to use in the verification process
json: Option<bool>Set output format to JSON
key_name: StringThe name of the RSA key to use in the verification process
message: StringThe message to be verified
prehashed: Option<bool>Markes that the message is already hashed
signature: StringThe message’s signature
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>The version of the key to use for verification
Implementations§
Source§impl VerifyPkcs1
impl VerifyPkcs1
Trait Implementations§
Source§impl Clone for VerifyPkcs1
impl Clone for VerifyPkcs1
Source§fn clone(&self) -> VerifyPkcs1
fn clone(&self) -> VerifyPkcs1
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 VerifyPkcs1
impl Debug for VerifyPkcs1
Source§impl Default for VerifyPkcs1
impl Default for VerifyPkcs1
Source§fn default() -> VerifyPkcs1
fn default() -> VerifyPkcs1
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VerifyPkcs1
impl<'de> Deserialize<'de> for VerifyPkcs1
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 VerifyPkcs1
impl PartialEq for VerifyPkcs1
Source§fn eq(&self, other: &VerifyPkcs1) -> bool
fn eq(&self, other: &VerifyPkcs1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VerifyPkcs1
impl Serialize for VerifyPkcs1
impl StructuralPartialEq for VerifyPkcs1
Auto Trait Implementations§
impl Freeze for VerifyPkcs1
impl RefUnwindSafe for VerifyPkcs1
impl Send for VerifyPkcs1
impl Sync for VerifyPkcs1
impl Unpin for VerifyPkcs1
impl UnsafeUnpin for VerifyPkcs1
impl UnwindSafe for VerifyPkcs1
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