mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8242141: New System Properties to configure the TLS signature schemes
Reviewed-by: ascarpino, jnimeh, mullan
This commit is contained in:
parent
5efa545d48
commit
72446bb0dc
12 changed files with 233 additions and 6 deletions
|
@ -100,6 +100,7 @@ final class CertSignAlgsExtension {
|
|||
if (chc.localSupportedSignAlgs == null) {
|
||||
chc.localSupportedSignAlgs =
|
||||
SignatureScheme.getSupportedAlgorithms(
|
||||
chc.sslConfig,
|
||||
chc.algorithmConstraints, chc.activeProtocols);
|
||||
}
|
||||
|
||||
|
@ -188,6 +189,7 @@ final class CertSignAlgsExtension {
|
|||
// update the context
|
||||
List<SignatureScheme> schemes =
|
||||
SignatureScheme.getSupportedAlgorithms(
|
||||
shc.sslConfig,
|
||||
shc.algorithmConstraints, shc.negotiatedProtocol,
|
||||
spec.signatureSchemes);
|
||||
shc.peerRequestedCertSignSchemes = schemes;
|
||||
|
@ -240,6 +242,7 @@ final class CertSignAlgsExtension {
|
|||
// Produce the extension.
|
||||
List<SignatureScheme> sigAlgs =
|
||||
SignatureScheme.getSupportedAlgorithms(
|
||||
shc.sslConfig,
|
||||
shc.algorithmConstraints,
|
||||
List.of(shc.negotiatedProtocol));
|
||||
|
||||
|
@ -326,6 +329,7 @@ final class CertSignAlgsExtension {
|
|||
// update the context
|
||||
List<SignatureScheme> schemes =
|
||||
SignatureScheme.getSupportedAlgorithms(
|
||||
chc.sslConfig,
|
||||
chc.algorithmConstraints, chc.negotiatedProtocol,
|
||||
spec.signatureSchemes);
|
||||
chc.peerRequestedCertSignSchemes = schemes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue