Docs & rules

Yubico/yubikit-androidGitHub

This is a public, read-only report. Striff reads this repository's docs, turns each sentence that makes a claim about the code into a rule, and checks the rule against the code on the default branch. How this works

main41899b6Last read Oct 3

Is this yours? Install to manage it

Once installed, Striff checks every pull request.

Documents
Rules
13
1
1
4
4
2
2
1
1
2
2
3
3
21 docs
Yubico/yubikit-androidOpen repository

Yubico/yubikit-android — documented rules

13 of 13 rules, printed November 6, 2026.

The sentence in your docs
For more control of the connection instance, YubiKit 2.3.0 adds YubiKeyConnection YubiKeyDevice.openConnection(type) API.
YubiKeyDevice has an openConnection method
Holds
YubiKitManager.listDeviceRecords() returns a list of DesktopDeviceRecord objects, each containing the device, its DeviceInfo, and a DesktopDeviceSelector that can be used to target that device.
4 rules from this sentence
YubiKitManager depends on DesktopDeviceRecord
Holds
DesktopDeviceRecord depends on DeviceInfo
Holds
DesktopDeviceRecord depends on DesktopDeviceSelector
Holds
YubiKitManager has a listDeviceRecords method
Holds
Credential operations provided by WebAuthnClient use classes which map to standard Webauthn types and allow easier interoperability with RPs. For example PublicKeyCredential.toMap() returns a standard Java Map object which can be serialized to JSON representation:
WebAuthnClient depends on PublicKeyCredential
Holds
For example PublicKeyCredential.toMap() returns a standard Java Map object which can be serialized to JSON representation:
PublicKeyCredential has a toMap method
Holds
To communicate with the Management application on a YubiKey, use the ManagementSession class. The class provides constructors for all types of YubiKeyConnections, as well as a factory method which takes a YubiKeyDevice and will use the best suited connection type available:
ManagementSession depends on YubiKeyDevice
Holds
The YKPiv PivProvider needs an active PivSession to be able to perform any actions.
PivProvider depends on PivSession
Holds
You can either pass an instance of PivSession directly to the constructor of PivProvider, or you can provide a Callback which will be invoked to supply a PivSession whenever one is required.
PivProvider depends on Callback
Holds
To communicate with the YubiOTP application on a YubiKey, use the YubiOtpSession class. The class provides constructors for all supported types of YubiKeyConnections (OtpConnection over USB, and SmartCardConnection over NFC), as well as a factory method which takes a YubiKeyDevice and will use the best suited connection type available:
3 rules from this sentence
YubiOtpSession depends on OtpConnection
Holds
YubiOtpSession depends on SmartCardConnection
Holds
YubiOtpSession depends on YubiKeyDevice
Holds
13 rules from 6 docs

More open-source reports

Every report →

Other public repositories whose docs Striff read and checked against their code.