From 7f0d865ff06f94f4f30a92608bffbedb9dbdcb39 Mon Sep 17 00:00:00 2001 From: Jon Marius Venstad Date: Fri, 7 Jun 2019 11:02:19 +0200 Subject: Split reading and parsing of test config, and read properties to set up controller client --- hosted-api/src/main/java/ai/vespa/hosted/api/RequestVerifier.java | 1 + 1 file changed, 1 insertion(+) (limited to 'hosted-api') 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; -- cgit v1.2.3