CardChannel protocol
This commit is contained in:
parent
9a7692a3e3
commit
fb7f7fb33a
|
@ -0,0 +1,12 @@
|
|||
protocol CardChannel {
|
||||
var connected: Bool { get }
|
||||
func send(_ cmd: APDUCommand) throws -> APDUResponse
|
||||
}
|
||||
|
||||
extension CardChannel {
|
||||
var pairingPasswordPBKDF2IterationCount: Int {
|
||||
get {
|
||||
return 50000;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue