Package org.bouncycastle.tls
Class DefaultTlsSRPConfigVerifier
java.lang.Object
org.bouncycastle.tls.DefaultTlsSRPConfigVerifier
- All Implemented Interfaces:
TlsSRPConfigVerifier
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAccept only the group parameters specified in RFC 5054 Appendix A.DefaultTlsSRPConfigVerifier
(Vector groups) Specify a custom set of acceptable group parameters. -
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(TlsSRPConfig srpConfig) Check whether the given SRP configuration is acceptable for use.protected boolean
protected boolean
-
Field Details
-
groups
-
-
Constructor Details
-
Method Details
-
accept
Description copied from interface:TlsSRPConfigVerifier
Check whether the given SRP configuration is acceptable for use.- Specified by:
accept
in interfaceTlsSRPConfigVerifier
- Parameters:
srpConfig
- theTlsSRPConfig
to check.- Returns:
- true if (and only if) the specified configuration is acceptable.
-
areGroupsEqual
-
areParametersEqual
-