pub trait VerificationKey {
// Required methods
fn from_fingerprint(fingerprint: &str) -> Result<Self, Error>
where Self: Sized;
fn get_suite_id() -> &'static str
where Self: Sized;
fn get_current_suite_id(&self) -> &'static str;
fn get_suite_context() -> &'static str
where Self: Sized;
fn get_current_suite_context(&self) -> &'static str;
fn get_controller(&self) -> &Option<String>;
fn get_type(&self) -> String;
fn get_private_key_content(&self) -> &Option<String>;
fn get_public_key_content(&self) -> &String;
fn export(
&self,
public_key: bool,
private_key: bool,
include_context: bool,
) -> KeyPair;
}Required Methods§
fn from_fingerprint(fingerprint: &str) -> Result<Self, Error>where
Self: Sized,
fn get_suite_id() -> &'static strwhere
Self: Sized,
fn get_current_suite_id(&self) -> &'static str
fn get_suite_context() -> &'static strwhere
Self: Sized,
fn get_current_suite_context(&self) -> &'static str
fn get_controller(&self) -> &Option<String>
fn get_type(&self) -> String
fn get_private_key_content(&self) -> &Option<String>
fn get_public_key_content(&self) -> &String
fn export( &self, public_key: bool, private_key: bool, include_context: bool, ) -> KeyPair
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".