public override void SetKey (AsymmetricAlgorithm key)
		{
			if (key != null) {
				if (key is RSA) {
					rsa = (RSA)key;
				}
				else
					throw new InvalidCastException ();
			}
		}
		public override void SetKey (AsymmetricAlgorithm key) 
		{
			if (key != null) {
				rsa = (RSACryptoServiceProvider) key;
			}
		}
		public RSAPKCS1SignatureFormatter (AsymmetricAlgorithm key) 
		{
			SetKey (key);
		}
		public RSAPKCS1KeyExchangeFormatter (AsymmetricAlgorithm key)
		{
			SetKey (key);
		}
		public abstract void SetKey(AsymmetricAlgorithm key);
		public DSASignatureDeformatter (AsymmetricAlgorithm key) 
		{
			SetKey (key);
		}
 public RSAPKCS1SignatureFormatter(AsymmetricAlgorithm key)
 {
     SetKey(key);
 }
Ejemplo n.º 8
0
 public DSASignatureDeformatter(AsymmetricAlgorithm key)
 {
     SetKey(key);
 }