summaryrefslogtreecommitdiffstats
path: root/hosted-api
diff options
context:
space:
mode:
authorJon Marius Venstad <jvenstad@yahoo-inc.com>2019-06-07 11:02:19 +0200
committerJon Marius Venstad <jvenstad@yahoo-inc.com>2019-06-07 11:02:19 +0200
commit7f0d865ff06f94f4f30a92608bffbedb9dbdcb39 (patch)
treeb6f59c81ab1ef45bc52a5540baf4e69a383078a9 /hosted-api
parentf8829ef11f399d5a252b359f149bc78128c0b174 (diff)
Split reading and parsing of test config, and read properties to set up controller client
Diffstat (limited to 'hosted-api')
-rw-r--r--hosted-api/src/main/java/ai/vespa/hosted/api/RequestVerifier.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/hosted-api/src/main/java/ai/vespa/hosted/api/RequestVerifier.java b/hosted-api/src/main/java/ai/vespa/hosted/api/RequestVerifier.java
index dc53439ef3b..9d85ec9bf6b 100644
--- a/hosted-api/src/main/java/ai/vespa/hosted/api/RequestVerifier.java
+++ b/hosted-api/src/main/java/ai/vespa/hosted/api/RequestVerifier.java
@@ -29,6 +29,7 @@ public class RequestVerifier {
this(pemPublicKey, Clock.systemUTC());
}
+ /** Creates a new request verifier from the given PEM encoded ECDSA public key, with the given clock. */
public RequestVerifier(String pemPublicKey, Clock clock) {
this.verifier = SignatureUtils.createVerifier(KeyUtils.fromPemEncodedPublicKey(pemPublicKey), SHA256_WITH_ECDSA);
this.clock = clock;