private static FromHex ( String hex ) : BigInteger | ||
hex | String | |
return | BigInteger |
private static DHParameters FromSafeP(string hexP) { BigInteger bigInteger = TlsDHUtilities.FromHex(hexP); BigInteger q = bigInteger.ShiftRight(1); return(new DHParameters(bigInteger, TlsDHUtilities.Two, q)); }