diff options
author | tholenst <tholenst@google.com> | 2023-06-12 08:42:10 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-06-12 08:43:38 -0700 |
commit | 385c2102189e319392049b54ebae6532c4f34667 (patch) | |
tree | b448e71501f0f4286b76fcf4813b9f153958c9e5 /tools | |
parent | fc420104fdd2a1e3404f2f3fa8536e45fd07ee57 (diff) | |
download | tink-385c2102189e319392049b54ebae6532c4f34667.tar.gz |
Remove unneeded public visibility of TinkeyTestClient
PiperOrigin-RevId: 539664574
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tinkey/src/main/java/com/google/crypto/tink/tinkey/TinkeyTestKmsClient.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/tinkey/src/main/java/com/google/crypto/tink/tinkey/TinkeyTestKmsClient.java b/tools/tinkey/src/main/java/com/google/crypto/tink/tinkey/TinkeyTestKmsClient.java index 59909b367..53d4d9940 100644 --- a/tools/tinkey/src/main/java/com/google/crypto/tink/tinkey/TinkeyTestKmsClient.java +++ b/tools/tinkey/src/main/java/com/google/crypto/tink/tinkey/TinkeyTestKmsClient.java @@ -17,7 +17,6 @@ package com.google.crypto.tink.tinkey; import static java.nio.charset.StandardCharsets.UTF_8; -import com.google.auto.service.AutoService; import com.google.crypto.tink.Aead; import com.google.crypto.tink.InsecureSecretKeyAccess; import com.google.crypto.tink.KeysetHandle; @@ -37,10 +36,9 @@ import java.util.Arrays; * JSON-encoded AEAD keyset. It will use this Aead when "getAead" is called. As credentials, it must * be given a file which starts whose contents are "VALID CREDENTIALS". */ -@AutoService(KmsClient.class) -public final class TinkeyTestKmsClient implements KmsClient { +final class TinkeyTestKmsClient implements KmsClient { - public TinkeyTestKmsClient() { + TinkeyTestKmsClient() { this(PREFIX); } @@ -48,7 +46,7 @@ public final class TinkeyTestKmsClient implements KmsClient { this.prefix = prefix; } - public static KmsClient createForPrefix(String prefix) { + static KmsClient createForPrefix(String prefix) { return new TinkeyTestKmsClient(prefix); } |