AsymmetricKeyExchangeFormatter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the base class from which all asymmetric key exchange formatters derive.
public ref class AsymmetricKeyExchangeFormatter abstract
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public abstract class AsymmetricKeyExchangeFormatter
public abstract class AsymmetricKeyExchangeFormatter
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class AsymmetricKeyExchangeFormatter
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
type AsymmetricKeyExchangeFormatter = class
type AsymmetricKeyExchangeFormatter = class
[<System.Runtime.InteropServices.ComVisible(true)>]
type AsymmetricKeyExchangeFormatter = class
Public MustInherit Class AsymmetricKeyExchangeFormatter
- Inheritance
-
AsymmetricKeyExchangeFormatter
- Derived
- Attributes
Remarks
Asymmetric key exchange formatters encrypt key exchange data.
Key exchange allows a sender to create secret information, such as random data that can be used as a key in a symmetric encryption algorithm, and use encryption to send it to the intended recipient.
Caution
It is highly recommended that you not attempt to create your own key exchange method from the basic functionality provided, because many details of the operation must be performed carefully in order for the key exchange to be successful.
Constructors
AsymmetricKeyExchangeFormatter() |
Initializes a new instance of AsymmetricKeyExchangeFormatter. |
Properties
Parameters |
When overridden in a derived class, gets the parameters for the asymmetric key exchange. |
Methods
CreateKeyExchange(Byte[]) |
When overridden in a derived class, creates the encrypted key exchange data from the specified input data. |
CreateKeyExchange(Byte[], Type) |
When overridden in a derived class, creates the encrypted key exchange data from the specified input data. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
SetKey(AsymmetricAlgorithm) |
When overridden in a derived class, sets the public key to use for encrypting the secret information. |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |