CardChannel protocol

This commit is contained in:
Michele Balistreri 2019-07-04 14:19:26 +03:00
parent 9a7692a3e3
commit fb7f7fb33a
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
protocol CardChannel {
var connected: Bool { get }
func send(_ cmd: APDUCommand) throws -> APDUResponse
}
extension CardChannel {
var pairingPasswordPBKDF2IterationCount: Int {
get {
return 50000;
}
}
}