SwiftstructCryptoKit

struct CryptoKit.HPKE.Sender

Members 10

  1. fieldvar context: CryptoKit.HPKE.Context
  2. fieldlet encapsulatedKey: Foundation.Data
  3. funcexportSecret<A where A: Foundation.DataProtocol>(context: A, outputByteCount: Int) throws -> CryptoKit.SymmetricKey
  4. funcseal<A, B where A: Foundation.DataProtocol, B: Foundation.DataProtocol>(_: A, authenticating: B) throws -> Foundation.Data
  5. funcseal<A where A: Foundation.DataProtocol>(A) throws -> Foundation.Data
  6. initinit<A where A: CryptoKit.HPKEDiffieHellmanPublicKey>(recipientKey: A, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data, presharedKey: CryptoKit.SymmetricKey, presharedKeyIdentifier: Foundation.Data) throws -> CryptoKit.HPKE.Sender
  7. initinit<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
  8. initinit<A where A: CryptoKit.HPKEDiffieHellmanPrivateKey>(recipientKey: A.PublicKey, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data, authenticatedBy: A) throws -> CryptoKit.HPKE.Sender
  9. initinit<A where A: CryptoKit.HPKEKEMPublicKey>(recipientKey: A, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data) throws -> CryptoKit.HPKE.Sender
  10. initinit<A where A: CryptoKit.HPKEDiffieHellmanPublicKey>(recipientKey: A, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data) throws -> CryptoKit.HPKE.Sender
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
}