SwiftstructCryptoKit
struct CryptoKit.HPKE.Sender
Members 10
- field
var context: CryptoKit.HPKE.Context - field
let encapsulatedKey: Foundation.Data - func
exportSecret<A where A: Foundation.DataProtocol>(context: A, outputByteCount: Int) throws -> CryptoKit.SymmetricKey - func
seal<A, B where A: Foundation.DataProtocol, B: Foundation.DataProtocol>(_: A, authenticating: B) throws -> Foundation.Data - func
seal<A where A: Foundation.DataProtocol>(A) throws -> Foundation.Data - init
init<A where A: CryptoKit.HPKEDiffieHellmanPublicKey>(recipientKey: A, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data, presharedKey: CryptoKit.SymmetricKey, presharedKeyIdentifier: Foundation.Data) throws -> CryptoKit.HPKE.Sender - init
init<A where A: CryptoKit.HPKEDiffieHellmanPrivateKey>(recipientKey: A.PublicKey, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data, authenticatedBy: A, presharedKey: CryptoKit.SymmetricKey, presharedKeyIdentifier: Foundation.Data) throws -> CryptoKit.HPKE.Sender - init
init<A where A: CryptoKit.HPKEDiffieHellmanPrivateKey>(recipientKey: A.PublicKey, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data, authenticatedBy: A) throws -> CryptoKit.HPKE.Sender - init
init<A where A: CryptoKit.HPKEKEMPublicKey>(recipientKey: A, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data) throws -> CryptoKit.HPKE.Sender - init
init<A where A: CryptoKit.HPKEDiffieHellmanPublicKey>(recipientKey: A, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data) throws -> CryptoKit.HPKE.Sender
Header
struct CryptoKit.HPKE.Sender { var context: CryptoKit.HPKE.Context let encapsulatedKey: Foundation.Data init<A>(recipientKey: A, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data, presharedKey: CryptoKit.SymmetricKey, presharedKeyIdentifier: Foundation.Data) throws where A: CryptoKit.HPKEDiffieHellmanPublicKey init<A>(recipientKey: A.PublicKey, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data, authenticatedBy: A, presharedKey: CryptoKit.SymmetricKey, presharedKeyIdentifier: Foundation.Data) throws where A: CryptoKit.HPKEDiffieHellmanPrivateKey init<A>(recipientKey: A.PublicKey, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data, authenticatedBy: A) throws where A: CryptoKit.HPKEDiffieHellmanPrivateKey init<A>(recipientKey: A, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data) throws where A: CryptoKit.HPKEKEMPublicKey init<A>(recipientKey: A, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data) throws where A: CryptoKit.HPKEDiffieHellmanPublicKey func exportSecret<A>(context: A, outputByteCount: Swift.Int) throws -> CryptoKit.SymmetricKey where A: Foundation.DataProtocol func seal<A, B>(_: A, authenticating: B) throws -> Foundation.Data where A: Foundation.DataProtocol, B: Foundation.DataProtocol func seal<A>(_: A) throws -> Foundation.Data where A: Foundation.DataProtocol }