AgreementKey

Trait AgreementKey 

Source
pub trait AgreementKey {
    // Required methods
    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_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§

Source

fn get_suite_context() -> &'static str
where Self: Sized,

Source

fn get_current_suite_context(&self) -> &'static str

Source

fn get_controller(&self) -> &Option<String>

Source

fn get_private_key_content(&self) -> &Option<String>

Source

fn get_public_key_content(&self) -> &String

Source

fn export( &self, public_key: bool, private_key: bool, include_context: bool, ) -> KeyPair

Implementors§