org.bouncycastle.crypto.tls
Class DefaultTlsSRPGroupVerifier
java.lang.Object
|
+--org.bouncycastle.crypto.tls.DefaultTlsSRPGroupVerifier
- All Implemented Interfaces:
- TlsSRPGroupVerifier
Deprecated. Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
- public class DefaultTlsSRPGroupVerifier
- extends java.lang.Object
- implements TlsSRPGroupVerifier
Field Summary |
protected static java.util.Vector |
DEFAULT_GROUPS
Deprecated. |
protected java.util.Vector |
groups
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_GROUPS
protected static final java.util.Vector DEFAULT_GROUPS
- Deprecated.
groups
protected java.util.Vector groups
- Deprecated.
DefaultTlsSRPGroupVerifier
public DefaultTlsSRPGroupVerifier()
- Deprecated.
- Accept only the group parameters specified in RFC 5054 Appendix A.
DefaultTlsSRPGroupVerifier
public DefaultTlsSRPGroupVerifier(java.util.Vector groups)
- Deprecated.
- Specify a custom set of acceptable group parameters.
- Parameters:
groups
- a Vector
of acceptable SRP6GroupParameters
accept
public boolean accept(SRP6GroupParameters group)
- Deprecated.
- Description copied from interface:
TlsSRPGroupVerifier
- Check whether the given SRP group parameters are acceptable for use.
- Specified by:
accept
in interface TlsSRPGroupVerifier
- Following copied from interface:
org.bouncycastle.crypto.tls.TlsSRPGroupVerifier
- Parameters:
group
- the SRP6GroupParameters
to check- Returns:
- true if (and only if) the specified group parameters are acceptable
areGroupsEqual
protected boolean areGroupsEqual(SRP6GroupParameters a,
SRP6GroupParameters b)
- Deprecated.
areParametersEqual
protected boolean areParametersEqual(java.math.BigInteger a,
java.math.BigInteger b)
- Deprecated.