secretive/Sources/Packages/Sources/SmartCardSecretKit/SmartCardSecret.swift

20 lines
413 B
Swift
Raw Normal View History

2020-03-04 07:14:38 +00:00
import Foundation
import Combine
import SecretKit
2020-03-04 07:14:38 +00:00
extension SmartCard {
2022-01-02 02:45:03 +00:00
/// An implementation of Secret backed by a Smart Card.
2020-03-04 07:14:38 +00:00
public struct Secret: SecretKit.Secret {
public let id: Data
public let name: String
public let algorithm: Algorithm
public let keySize: Int
public let requiresAuthentication: Bool = false
2020-03-04 07:14:38 +00:00
public let publicKey: Data
}
}