AsymmetricKeyExchangeDeformatter

AsymmetricKeyExchangeDeformatter

System.Security.Cryptography (mscorlib.dll)abstract class
public abstract class AsymmetricKeyExchangeDeformatter { // Public Constructors    public AsymmetricKeyExchangeDeformatter(  ); // Public Instance Properties    public abstract string Parameters{set; get; } // Public Instance Methods    public abstract byte[  ] DecryptKeyExchange(byte[  ] rgb);    public abstract void SetKey(AsymmetricAlgorithm key); }

This is the counterpart class to AsymmetricKeyExchangeFormatter and is the abstract base class which all key exchange deformatters extend. Implementations of this class decrypt formatted key exchange data.

The DecryptKeyExchange( ) method uses a private key to decrypt data encrypted with an implementation of the AsymmetricKeyExchangeFormatter class, using the corresponding public key. The SetKey( ) method specifies the AsymmetricAlgorithm instance that contains the private key. The Parameters property returns an XML string that describes the key exchange algorithm represented by the implementation class.

The .NET Framework class library includes the RSAOAEPKeyExchangeDeformatter and RSAPKCS1KeyExchangeDeformatter classes, which decrypt data that has been encrypted using the RSA algorithm after being formatted with the Optimal Asymmetric Encryption Padding (OAEP) or PKCS #1 schemes.

Subclasses

RSAOAEPKeyExchangeDeformatter, RSAPKCS1KeyExchangeDeformatter



Programming. NET Security
Programming .Net Security
ISBN: 0596004427
EAN: 2147483647
Year: 2005
Pages: 346

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net