secretive/SecretKit/SecureEnclave/SecureEnclaveSecret.swift

18 lines
348 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-04 07:14:38 +00:00
public let id: Data
public let name: String
public let algorithm = Algorithm.ellipticCurve
public let keySize = 256
2020-03-04 07:14:38 +00:00
public let publicKey: Data
2021-11-07 02:18:58 +00:00
public let requiresAuthentication: Bool
2020-02-19 04:52:00 +00:00
}
}