Class TlsSRPConfig


  • public class TlsSRPConfig
    extends java.lang.Object
    Basic config for SRP.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.math.BigInteger[] explicitNG  
    • Constructor Summary

      Constructors 
      Constructor Description
      TlsSRPConfig()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.math.BigInteger[] getExplicitNG()
      Return the (N, g) values used in SRP-6.
      void setExplicitNG​(java.math.BigInteger[] explicitNG)
      Set the (N, g) values used for SRP-6.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • explicitNG

        protected java.math.BigInteger[] explicitNG
    • Constructor Detail

      • TlsSRPConfig

        public TlsSRPConfig()
    • Method Detail

      • getExplicitNG

        public java.math.BigInteger[] getExplicitNG()
        Return the (N, g) values used in SRP-6.
        Returns:
        (N, g) as a BigInteger array (N=[0], g =[1]).
      • setExplicitNG

        public void setExplicitNG​(java.math.BigInteger[] explicitNG)
        Set the (N, g) values used for SRP-6.
        Parameters:
        explicitNG - (N, g) as a BigInteger array (N=[0], g =[1]).