Package org.bouncycastle.tls
Class DefaultTlsSRPConfigVerifier
java.lang.Object
org.bouncycastle.tls.DefaultTlsSRPConfigVerifier
- All Implemented Interfaces:
TlsSRPConfigVerifier
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAccept 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 TypeMethodDescriptionbooleanaccept(TlsSRPConfig srpConfig) Check whether the given SRP configuration is acceptable for use.protected booleanprotected boolean
-
Field Details
-
groups
-
-
Constructor Details
-
Method Details
-
accept
Description copied from interface:TlsSRPConfigVerifierCheck whether the given SRP configuration is acceptable for use.- Specified by:
acceptin interfaceTlsSRPConfigVerifier- Parameters:
srpConfig- theTlsSRPConfigto check.- Returns:
- true if (and only if) the specified configuration is acceptable.
-
areGroupsEqual
-
areParametersEqual
-