Пример #1
0
 public Rsa(byte[] rsaModulus, AsymmetricKeyPair keyPair)
     : this(rsaModulus, keyPair.PublicKey, keyPair.PrivateKey)
 {
 }
Пример #2
0
 public Rsa(byte[] rsaModulus, byte[] publicKey, byte[] privateKey)
 {
     RsaModulus = rsaModulus;
     KeyPair    = new AsymmetricKeyPair(publicKey, privateKey);
 }