Struct libyubihsm::Yubihsm
[−]
[src]
pub struct Yubihsm { /* fields omitted */ }
Primary library entrypoint. Used to create Connector
s, which can in turn be used to create
sessions.
Methods
impl Yubihsm
[src]
pub fn new() -> Result<Self, Error>
[src]
pub fn connector(&self) -> ConnectorBuilder
[src]
pub fn verify_logs<T: AsRef<[LogEntry]>>(
&self,
logs: T,
previous_log: Option<LogEntry>
) -> bool
[src]
&self,
logs: T,
previous_log: Option<LogEntry>
) -> bool
Trait Implementations
impl Copy for Yubihsm
[src]
impl Clone for Yubihsm
[src]
fn clone(&self) -> Yubihsm
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more