Adding type erasers

This commit is contained in:
Max Goedjen
2020-03-07 15:04:36 -08:00
parent fb752240b5
commit e87c181e86
5 changed files with 84 additions and 2 deletions

View File

@@ -4,11 +4,19 @@ import Combine
extension SecureEnclave {
public struct Secret: SecretKit.Secret {
public init(id: Data, name: String, publicKey: Data) {
self.id = id
self.name = name
self.publicKey = publicKey
}
public let id: Data
public let name: String
public let publicKey: Data
}
}