status-lib/backends/base/keycard.nim

34 lines
1.3 KiB
Nim

import ../../types/[keycard]
import ../types
method keycardStart*(self: Backend) =
raise newException(ValueError, "No implementation available")
method keycardStop*(self: Backend) =
raise newException(ValueError, "No implementation available")
method keycardSelect*(self: Backend): KeycardApplicationInfo =
raise newException(ValueError, "No implementation available")
method keycardPair*(self: Backend, pairingPassword: string): KeycardPairingInfo =
raise newException(ValueError, "No implementation available")
method keycardOpenSecureChannel*(self: Backend, index: int, key: string) =
raise newException(ValueError, "No implementation available")
method keycardVerifyPin*(self: Backend, pin: string) =
raise newException(ValueError, "No implementation available")
method keycardExportKey*(self: Backend, derive: bool, makeCurrent: bool, onlyPublic: bool, path: string): KeycardExportedKey =
raise newException(ValueError, "No implementation available")
method keycardGetStatusApplication*(self: Backend): KeycardStatus =
raise newException(ValueError, "No implementation available")
method keycardUnpair*(self: Backend, index: int) =
raise newException(ValueError, "No implementation available")
method keycardGenerateKey*(self: Backend): string =
raise newException(ValueError, "No implementation available")