libssh: sk_sign_response Struct Reference

libssh 0.12.1 The SSH library

Loading...
Searching...
No Matches
Data Fields
sk_sign_response Struct Reference

Response structure for FIDO2/U2F key signing operations. More...

`#include <sk_api.h>`

## Data Fields
uint8_t | flags
| FIDO2/U2F authenticator flags from the signing operation.
uint32_t | counter
| Authenticator signature counter value.
uint8_t * | sig_r
| R component of ECDSA signature or Ed25519 signature.
size_t | sig_r_len
| Length of sig_r buffer in bytes.
uint8_t * | sig_s
| S component of ECDSA signature.
size_t | sig_s_len
| Length of sig_s buffer in bytes.

## Detailed Description

Response structure for FIDO2/U2F key signing operations.

Contains signature components and metadata returned by a FIDO2/U2F authenticator after a successful signing operation.

## Field Documentation

## ◆ counter

uint32_t sk_sign_response::counter

Authenticator signature counter value.

Monotonically increasing counter maintained by the authenticator. Incremented on each successful signing operation. Used to detect cloned or duplicated authenticators.

## ◆ flags

uint8_t sk_sign_response::flags

FIDO2/U2F authenticator flags from the signing operation.

Contains flags indicating authenticator state during signing, including user presence (UP) and user verification (UV) flags. Used to verify that proper user interaction occurred while signing.

The documentation for this struct was generated from the following file:

- /build/libssh/src/libssh-0.12.1/include/libssh/sk_api.h