org.whispersystems.signalservice.internal.push.CheckRepeatedUsedPreKeysRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of signal-service-java Show documentation
Show all versions of signal-service-java Show documentation
Signal Service communication library for Java, unofficial fork
/*
* Copyright 2024 Signal Messenger, LLC
* SPDX-License-Identifier: AGPL-3.0-only
*/
package org.whispersystems.signalservice.internal.push
import com.fasterxml.jackson.annotation.JsonProperty
import com.fasterxml.jackson.databind.annotation.JsonSerialize
/**
* Request body to check if our prekeys match what's on the service.
*/
class CheckRepeatedUsedPreKeysRequest(
@JsonProperty
val identityType: String,
@JsonProperty
@JsonSerialize(using = ByteArraySerializerBase64NoPadding::class)
val digest: ByteArray
)