SwiftenumCryptoKit
enum CryptoKit.SecureEnclave.Curve25519
Header
enum CryptoKit.SecureEnclave.Curve25519 { enum Signing { struct PrivateKey { let publicKey: CryptoKit.Curve25519.Signing.PublicKey let dataRepresentation: Foundation.Data let tokenObject: __C.TKClientTokenObject init(dataRepresentation: Foundation.Data, parameters: [Swift.String : Swift.AnyObject]?, authenticationContext: __C.LAContext?) throws init(dataRepresentation: Foundation.Data, authenticationContext: __C.LAContext?) throws init(from: __C.SecKeyRef) throws func signature<A>(for: A) throws -> Foundation.Data where A: Foundation.DataProtocol } } enum KeyAgreement { struct PrivateKey { let publicKey: CryptoKit.Curve25519.KeyAgreement.PublicKey let dataRepresentation: Foundation.Data let tokenObject: __C.TKClientTokenObject init(dataRepresentation: Foundation.Data, parameters: [Swift.String : Swift.AnyObject]?, authenticationContext: __C.LAContext?) throws init(dataRepresentation: Foundation.Data, authenticationContext: __C.LAContext?) throws init(from: __C.SecKeyRef) throws func sharedSecretFromKeyAgreement(with: CryptoKit.Curve25519.KeyAgreement.PublicKey) throws -> CryptoKit.SharedSecret } } }