SwiftstructCipherML

struct CipherML.BatchPIRClient

Members 8

  1. fieldlet batchPirParameter: CipherML.AspirePirBatchPirParameters
  2. fieldlet client: CryptoKitPrivate.PIR.BatchKeywordPirClient
  3. fieldlet config: CipherML.AspireApiPIRConfig
  4. fieldlet configID: Foundation.Data
  5. fieldlet secretKey: CipherML.SecretKey
  6. funcconstructPIRRequest(with: [Foundation.Data]) throws -> [CipherML.AspireApiPIRRequest]
  7. funcdecryptPIRResponse(_: [CipherML.AspireApiPIRResponse], keywords: [Foundation.Data]) throws -> [Foundation.Data?]
  8. initinit(secretKey: CipherML.SecretKey, config: CipherML.AspireApiPIRConfig, configID: Foundation.Data) throws -> CipherML.BatchPIRClient
struct BatchPIRClient {
    let secretKey: CipherML.SecretKey
    let batchPirParameter: CipherML.AspirePirBatchPirParameters
    let configID: Foundation.Data
    let config: CipherML.AspireApiPIRConfig
    let client: CryptoKitPrivate.PIR.BatchKeywordPirClient

    init(secretKey: CipherML.SecretKey, config: CipherML.AspireApiPIRConfig, configID: Foundation.Data) throws

    func decryptPIRResponse(_: [CipherML.AspireApiPIRResponse], keywords: [Foundation.Data]) throws -> [Foundation.Data?]
    func constructPIRRequest(with: [Foundation.Data]) throws -> [CipherML.AspireApiPIRRequest]
}