public class MasterSecretValidators extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
MasterSecretValidators.MasterSecretValidator
Interface to validate the master secret of a SSL session
|
static class |
MasterSecretValidators.NoOpMasterSecretValidator
Dummy implementation of
MasterSecretValidators.MasterSecretValidator that always returns true. |
Constructor and Description |
---|
MasterSecretValidators() |
Modifier and Type | Method and Description |
---|---|
static MasterSecretValidators.MasterSecretValidator |
getMasterSecretValidator()
The implementation of
MasterSecretValidators.MasterSecretValidator depends on the JVM version. |
static MasterSecretValidators.MasterSecretValidator |
getMasterSecretValidator(JavaVersionParser.JavaVersion javaVersion) |
public static MasterSecretValidators.MasterSecretValidator getMasterSecretValidator()
MasterSecretValidators.MasterSecretValidator
depends on the JVM version. Certain JVMs
are affected by a serious bug that could allow a malicious MITM to negotiate a null master
secret. Non-affected JVMs return a dummy implementation that always returns trueMasterSecretValidators.MasterSecretValidator
http://www.oracle.com/technetwork/topics/security/cpujan2015-1972971.html
,
https://access.redhat.com/security/cve/CVE-2014-6593
public static MasterSecretValidators.MasterSecretValidator getMasterSecretValidator(JavaVersionParser.JavaVersion javaVersion)
javaVersion
- Current Java versionMasterSecretValidators.MasterSecretValidator
per the Java version in useCopyright © 2024. All rights reserved.