2020-02-19 04:52:00 +00:00
|
|
|
import Foundation
|
|
|
|
import Combine
|
|
|
|
|
|
|
|
extension SecureEnclave {
|
|
|
|
|
|
|
|
public struct Secret: SecretKit.Secret {
|
|
|
|
|
2020-03-04 07:14:38 +00:00
|
|
|
public let id: Data
|
|
|
|
public let name: String
|
2020-03-09 05:17:59 +00:00
|
|
|
public let algorithm = Algorithm.ellipticCurve
|
|
|
|
public let keySize = 256
|
2020-03-04 07:14:38 +00:00
|
|
|
public let publicKey: Data
|
2020-02-19 04:52:00 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|