SwiftstructCipherML
KeywordPIRClient
struct CipherML.KeywordPIRClient
Members 10
- field
let client: CryptoKitPrivate.PIR.KeywordPirClient - field
let config: CipherML.AspireApiPIRConfig - field
let configID: Foundation.Data - field
let secretKey: CipherML.SecretKey - field
let shardLabel: CipherML.ShardLabel - func
constructPIRRequest(with: Foundation.Data) throws -> CipherML.AspireApiPIRRequest - func
decryptPIRResponse(_: CipherML.AspireApiPIRResponse, keyword: Foundation.Data) throws -> Foundation.Data? - init
init(secretKey: CipherML.SecretKey, config: CipherML.AspireApiPIRConfig, configID: Foundation.Data, shardIndex: Int) throws -> CipherML.KeywordPIRClient - init
init(secretKey: CipherML.SecretKey, config: CipherML.AspireApiPIRConfig, configID: Foundation.Data, shardLabel: CipherML.ShardLabel) throws -> CipherML.KeywordPIRClient - init
init(secretKey: CipherML.SecretKey, config: CipherML.AspireApiPIRConfig, configID: Foundation.Data, shardId: String) throws -> CipherML.KeywordPIRClient
Header
struct KeywordPIRClient { let secretKey: CipherML.SecretKey let config: CipherML.AspireApiPIRConfig let configID: Foundation.Data let client: CryptoKitPrivate.PIR.KeywordPirClient let shardLabel: CipherML.ShardLabel init(secretKey: CipherML.SecretKey, config: CipherML.AspireApiPIRConfig, configID: Foundation.Data, shardIndex: Swift.Int) throws init(secretKey: CipherML.SecretKey, config: CipherML.AspireApiPIRConfig, configID: Foundation.Data, shardLabel: CipherML.ShardLabel) throws init(secretKey: CipherML.SecretKey, config: CipherML.AspireApiPIRConfig, configID: Foundation.Data, shardId: Swift.String) throws func decryptPIRResponse(_: CipherML.AspireApiPIRResponse, keyword: Foundation.Data) throws -> Foundation.Data? func constructPIRRequest(with: Foundation.Data) throws -> CipherML.AspireApiPIRRequest }