SwiftstructCipherML
BatchPIRClient
struct CipherML.BatchPIRClient
Members 8
- field
let batchPirParameter: CipherML.AspirePirBatchPirParameters - field
let client: CryptoKitPrivate.PIR.BatchKeywordPirClient - field
let config: CipherML.AspireApiPIRConfig - field
let configID: Foundation.Data - field
let secretKey: CipherML.SecretKey - func
constructPIRRequest(with: [Foundation.Data]) throws -> [CipherML.AspireApiPIRRequest] - func
decryptPIRResponse(_: [CipherML.AspireApiPIRResponse], keywords: [Foundation.Data]) throws -> [Foundation.Data?] - init
init(secretKey: CipherML.SecretKey, config: CipherML.AspireApiPIRConfig, configID: Foundation.Data) throws -> CipherML.BatchPIRClient
Header
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] }