/// <summary>
 /// Initializes a new instance of the <see cref="RsaSmallFullKey"/> class.
 /// </summary>
 /// <param name="modulus">The modulus.</param>
 /// <param name="privateExponent">The private exponent.</param>
 /// <param name="publicExponent">The public exponent.</param>
 public RsaSmallFullKey(BigInteger modulus, BigInteger privateExponent, BigInteger publicExponent)
 {
     privateKey = new RsaSmallPrivateKey(modulus, privateExponent);
     publicKey = new RsaSmallPublicKey(modulus, publicExponent);
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RsaSmallFullKey"/> class.
 /// </summary>
 /// <param name="modulus">The modulus.</param>
 /// <param name="privateExponent">The private exponent.</param>
 /// <param name="publicExponent">The public exponent.</param>
 public RsaSmallFullKey(BigInteger modulus, BigInteger privateExponent, BigInteger publicExponent)
 {
     privateKey = new RsaSmallPrivateKey(modulus, privateExponent);
     publicKey  = new RsaSmallPublicKey(modulus, publicExponent);
 }