secretive/SecretKit/SecureEnclave/SecureEnclaveSecret.swift

23 lines
381 B
Swift
Raw Normal View History

2020-02-19 04:52:00 +00:00
import Foundation
import Combine
extension SecureEnclave {
public struct Secret: SecretKit.Secret {
2020-03-07 23:04:36 +00:00
public init(id: Data, name: String, publicKey: Data) {
self.id = id
self.name = name
self.publicKey = publicKey
}
2020-02-19 04:52:00 +00:00
2020-03-04 07:14:38 +00:00
public let id: Data
public let name: String
public let publicKey: Data
2020-02-19 04:52:00 +00:00
2020-03-07 23:04:36 +00:00
2020-02-19 04:52:00 +00:00
}
}