public class PrivilegedMasterSecretValidator extends Object implements MasterSecretValidators.MasterSecretValidator
MasterSecretValidators.MasterSecretValidator
that verifies the master secret is non null
through use of Sun internal APIs. This validation is done only for JVMs affected by the SKIP-TLS
bug. It is best effort and any exception encountered while trying to validate the master secret
(including SecurityException
) will be ignoredConstructor and Description |
---|
PrivilegedMasterSecretValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
isMasterSecretValid(Socket socket)
Double check the master secret of an SSL session is not null
|
public boolean isMasterSecretValid(Socket socket)
isMasterSecretValid
in interface MasterSecretValidators.MasterSecretValidator
socket
- connected socketCopyright © 2024. All rights reserved.