pub struct VerifyEcDsa {
pub display_id: Option<String>,
pub item_id: Option<i64>,
pub json: Option<bool>,
pub key_name: Option<String>,
pub message: String,
pub prehashed: Option<bool>,
pub signature: String,
pub token: Option<String>,
pub uid_token: Option<String>,
pub version: Option<i32>,
}Expand description
VerifyEcDsa : verifyEcDsa is a command that verifies an ECDSA signature using a sha hash algorithm matching the key size
Fields§
§display_id: Option<String>The display id of the EC key to use for the verification process
item_id: Option<i64>The item id of the EC key to use for the verification process
json: Option<bool>Set output format to JSON
key_name: Option<String>The name of the EC key to use for the verification process
message: StringThe message to be verified in a base64 format
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 VerifyEcDsa
impl VerifyEcDsa
Sourcepub fn new(message: String, signature: String) -> VerifyEcDsa
pub fn new(message: String, signature: String) -> VerifyEcDsa
verifyEcDsa is a command that verifies an ECDSA signature using a sha hash algorithm matching the key size
Trait Implementations§
Source§impl Clone for VerifyEcDsa
impl Clone for VerifyEcDsa
Source§fn clone(&self) -> VerifyEcDsa
fn clone(&self) -> VerifyEcDsa
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 VerifyEcDsa
impl Debug for VerifyEcDsa
Source§impl Default for VerifyEcDsa
impl Default for VerifyEcDsa
Source§fn default() -> VerifyEcDsa
fn default() -> VerifyEcDsa
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VerifyEcDsa
impl<'de> Deserialize<'de> for VerifyEcDsa
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 VerifyEcDsa
impl PartialEq for VerifyEcDsa
Source§fn eq(&self, other: &VerifyEcDsa) -> bool
fn eq(&self, other: &VerifyEcDsa) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VerifyEcDsa
impl Serialize for VerifyEcDsa
impl StructuralPartialEq for VerifyEcDsa
Auto Trait Implementations§
impl Freeze for VerifyEcDsa
impl RefUnwindSafe for VerifyEcDsa
impl Send for VerifyEcDsa
impl Sync for VerifyEcDsa
impl Unpin for VerifyEcDsa
impl UnsafeUnpin for VerifyEcDsa
impl UnwindSafe for VerifyEcDsa
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