Метод | Описание | |
---|---|---|
DSAKeyPair ( BigInteger p, BigInteger g, BigInteger q, BigInteger y, BigInteger x ) : System | ||
GenerateNew ( int bits, Rng random ) : |
||
Sign ( byte data ) : byte[] | ||
Verify ( byte data, byte expecteddata ) : void |
Метод | Описание | |
---|---|---|
AsUInt64 ( BigInteger num ) : ulong | ||
findRandomGenerator ( BigInteger order, BigInteger modulo, Rng random ) : BigInteger | ||
findRandomStrongPrime ( int primeBits, int orderBits, Rng random ) : BigInteger[] |
public DSAKeyPair ( BigInteger p, BigInteger g, BigInteger q, BigInteger y, BigInteger x ) : System | ||
p | BigInteger | |
g | BigInteger | |
q | BigInteger | |
y | BigInteger | |
x | BigInteger | |
Результат | System |
public static GenerateNew ( int bits, Rng random ) : |
||
bits | int | |
random | Rng | |
Результат |
public Verify ( byte data, byte expecteddata ) : void | ||
data | byte | |
expecteddata | byte | |
Результат | void |