8248223: KeyAgreement spec update on multi-party key exchange support

Reviewed-by: mullan
This commit is contained in:
Jamil Nimeh 2021-02-16 17:40:29 +00:00
parent 8ba390d1e2
commit 6b6f794051

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -52,7 +52,9 @@ import sun.security.jca.GetInstance.Instance;
* with two other parties, {@code doPhase} needs to be called twice,
* the first time setting the {@code lastPhase} flag to
* {@code false}, and the second time setting it to {@code true}.
* There may be any number of parties involved in a key exchange.
* There may be any number of parties involved in a key exchange. However,
* support for key exchanges with more than two parties is implementation
* specific or as specified by the standard key agreement algorithm.
*
* <p> Every implementation of the Java platform is required to support the
* following standard {@code KeyAgreement} algorithm: