SwiftstructCryptoKit

struct CryptoKit.HPKE.Recipient

Members 9

  1. fieldvar context: CryptoKit.HPKE.Context
  2. funcexportSecret<A where A: Foundation.DataProtocol>(context: A, outputByteCount: Int) throws -> CryptoKit.SymmetricKey
  3. funcopen<A, B where A: Foundation.DataProtocol, B: Foundation.DataProtocol>(_: A, authenticating: B) throws -> Foundation.Data
  4. funcopen<A where A: Foundation.DataProtocol>(A) throws -> Foundation.Data
  5. initinit<A where A: CryptoKit.HPKEDiffieHellmanPrivateKey>(privateKey: A, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data, encapsulatedKey: Foundation.Data, presharedKey: CryptoKit.SymmetricKey, presharedKeyIdentifier: Foundation.Data) throws -> CryptoKit.HPKE.Recipient
  6. initinit<A where A: CryptoKit.HPKEDiffieHellmanPrivateKey>(privateKey: A, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data, encapsulatedKey: Foundation.Data, authenticatedBy: A.PublicKey, presharedKey: CryptoKit.SymmetricKey, presharedKeyIdentifier: Foundation.Data) throws -> CryptoKit.HPKE.Recipient
  7. initinit<A where A: CryptoKit.HPKEDiffieHellmanPrivateKey>(privateKey: A, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data, encapsulatedKey: Foundation.Data, authenticatedBy: A.PublicKey) throws -> CryptoKit.HPKE.Recipient
  8. initinit<A where A: CryptoKit.HPKEKEMPrivateKey>(privateKey: A, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data, encapsulatedKey: Foundation.Data) throws -> CryptoKit.HPKE.Recipient
  9. initinit<A where A: CryptoKit.HPKEDiffieHellmanPrivateKey>(privateKey: A, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data, encapsulatedKey: Foundation.Data) throws -> CryptoKit.HPKE.Recipient
struct CryptoKit.HPKE.Recipient {
    var context: CryptoKit.HPKE.Context

    init<A>(privateKey: A, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data, encapsulatedKey: Foundation.Data, presharedKey: CryptoKit.SymmetricKey, presharedKeyIdentifier: Foundation.Data) throws where A: CryptoKit.HPKEDiffieHellmanPrivateKey
    init<A>(privateKey: A, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data, encapsulatedKey: Foundation.Data, authenticatedBy: A.PublicKey, presharedKey: CryptoKit.SymmetricKey, presharedKeyIdentifier: Foundation.Data) throws where A: CryptoKit.HPKEDiffieHellmanPrivateKey
    init<A>(privateKey: A, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data, encapsulatedKey: Foundation.Data, authenticatedBy: A.PublicKey) throws where A: CryptoKit.HPKEDiffieHellmanPrivateKey
    init<A>(privateKey: A, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data, encapsulatedKey: Foundation.Data) throws where A: CryptoKit.HPKEKEMPrivateKey
    init<A>(privateKey: A, ciphersuite: CryptoKit.HPKE.Ciphersuite, info: Foundation.Data, encapsulatedKey: Foundation.Data) throws where A: CryptoKit.HPKEDiffieHellmanPrivateKey

    func exportSecret<A>(context: A, outputByteCount: Swift.Int) throws -> CryptoKit.SymmetricKey where A: Foundation.DataProtocol
    func open<A, B>(_: A, authenticating: B) throws -> Foundation.Data where A: Foundation.DataProtocol, B: Foundation.DataProtocol
    func open<A>(_: A) throws -> Foundation.Data where A: Foundation.DataProtocol
}