Bouncy Castle Cryptography Library 1.64

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.  
 
Constructor Summary
DefaultTlsSRPGroupVerifier()
          Deprecated. Accept only the group parameters specified in RFC 5054 Appendix A.
DefaultTlsSRPGroupVerifier(java.util.Vector groups)
          Deprecated. Specify a custom set of acceptable group parameters.
 
Method Summary
 boolean accept(SRP6GroupParameters group)
          Deprecated. Check whether the given SRP group parameters are acceptable for use.
protected  boolean areGroupsEqual(SRP6GroupParameters a, SRP6GroupParameters b)
          Deprecated.  
protected  boolean areParametersEqual(java.math.BigInteger a, java.math.BigInteger b)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_GROUPS

protected static final java.util.Vector DEFAULT_GROUPS
Deprecated. 

groups

protected java.util.Vector groups
Deprecated. 
Constructor Detail

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
Method Detail

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. 

Bouncy Castle Cryptography Library 1.64