mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-08-27 15:40:57 +00:00
19 lines
416 B
Swift
19 lines
416 B
Swift
import Foundation
|
|
import SecretKit
|
|
|
|
extension SecureEnclave {
|
|
|
|
/// An implementation of Secret backed by the Secure Enclave.
|
|
public struct Secret: SecretKit.Secret {
|
|
|
|
public let id: Data
|
|
public let name: String
|
|
public let algorithm = Algorithm.ellipticCurve
|
|
public let keySize = 256
|
|
public let requiresAuthentication: Bool
|
|
public let publicKey: Data
|
|
|
|
}
|
|
|
|
}
|