mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-21 01:01:15 +01:00
Add client identity to key and certificate to KeyTransparencyServiceClient
This commit is contained in:
@@ -5,9 +5,13 @@
|
||||
|
||||
package org.whispersystems.textsecuregcm.configuration;
|
||||
|
||||
import org.whispersystems.textsecuregcm.configuration.secrets.SecretString;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Positive;
|
||||
|
||||
public record KeyTransparencyServiceConfiguration(@NotBlank String host,
|
||||
@Positive int port,
|
||||
@NotBlank String tlsCertificate) {}
|
||||
@NotBlank String tlsCertificate,
|
||||
@NotBlank String clientCertificate,
|
||||
@NotNull SecretString clientPrivateKey) {}
|
||||
|
||||
Reference in New Issue
Block a user