diff options
author | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2019-06-07 11:02:19 +0200 |
---|---|---|
committer | Jon Marius Venstad <jvenstad@yahoo-inc.com> | 2019-06-07 11:02:19 +0200 |
commit | 7f0d865ff06f94f4f30a92608bffbedb9dbdcb39 (patch) | |
tree | b6f59c81ab1ef45bc52a5540baf4e69a383078a9 /hosted-api/src | |
parent | f8829ef11f399d5a252b359f149bc78128c0b174 (diff) |
Split reading and parsing of test config, and read properties to set up controller client
Diffstat (limited to 'hosted-api/src')
-rw-r--r-- | hosted-api/src/main/java/ai/vespa/hosted/api/RequestVerifier.java | 1 |
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; |