abstract class SecurityKey
An abstract connected Security Key. Concrete instances of this class, such as FidoSecurityKey, PivSecurityKey, or OpenPgpSecurityKey, offer methods to interact with the connected Security Key and applet.
|SecurityKey||open fun SecurityKey(config: SecurityKeyManagerConfig, transport: Transport)|
open fun checkConnectionOrThrow()
This method checks if communication with the security key is still available by sending a no-op ping command.
true if the underlying transport is persistently connected.
true if the underlying transport is NFC.
true if the underlying transport is USB.
open fun release()
Releases the Security Key as well as the underlying transport.