SwiftstructCipherML

struct CipherML.KeywordPIRClient

Members 10

  1. fieldlet client: CryptoKitPrivate.PIR.KeywordPirClient
  2. fieldlet config: CipherML.AspireApiPIRConfig
  3. fieldlet configID: Foundation.Data
  4. fieldlet secretKey: CipherML.SecretKey
  5. fieldlet shardLabel: CipherML.ShardLabel
  6. funcconstructPIRRequest(with: Foundation.Data) throws -> CipherML.AspireApiPIRRequest
  7. funcdecryptPIRResponse(_: CipherML.AspireApiPIRResponse, keyword: Foundation.Data) throws -> Foundation.Data?
  8. initinit(secretKey: CipherML.SecretKey, config: CipherML.AspireApiPIRConfig, configID: Foundation.Data, shardIndex: Int) throws -> CipherML.KeywordPIRClient
  9. initinit(secretKey: CipherML.SecretKey, config: CipherML.AspireApiPIRConfig, configID: Foundation.Data, shardLabel: CipherML.ShardLabel) throws -> CipherML.KeywordPIRClient
  10. initinit(secretKey: CipherML.SecretKey, config: CipherML.AspireApiPIRConfig, configID: Foundation.Data, shardId: String) throws -> CipherML.KeywordPIRClient
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
}