Struct u2f::protocol::U2f
[−]
[src]
pub struct U2f { /* fields omitted */ }
Methods
impl U2f
[src]
fn new(app_id: String) -> Self
[src]
fn generate_challenge(&self) -> Result<Challenge, U2fError>
[src]
fn request(
&self,
challenge: Challenge,
registrations: Vec<Registration>
) -> Result<U2fRegisterRequest, U2fError>
[src]
&self,
challenge: Challenge,
registrations: Vec<Registration>
) -> Result<U2fRegisterRequest, U2fError>
fn register_response(
&self,
challenge: Challenge,
response: RegisterResponse
) -> Result<Registration, U2fError>
[src]
&self,
challenge: Challenge,
response: RegisterResponse
) -> Result<Registration, U2fError>
fn sign_request(
&self,
challenge: Challenge,
registrations: Vec<Registration>
) -> U2fSignRequest
[src]
&self,
challenge: Challenge,
registrations: Vec<Registration>
) -> U2fSignRequest
fn sign_response(
&self,
challenge: Challenge,
reg: Registration,
sign_resp: SignResponse,
counter: u32
) -> Result<u32, U2fError>
[src]
&self,
challenge: Challenge,
reg: Registration,
sign_resp: SignResponse,
counter: u32
) -> Result<u32, U2fError>