AsymmetricKeyExchangeFormatter.CreateKeyExchange Method
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.
When overridden in a derived class, creates the encrypted key exchange data.
Overloads
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. |
CreateKeyExchange(Byte[])
When overridden in a derived class, creates the encrypted key exchange data from the specified input data.
public:
abstract cli::array <System::Byte> ^ CreateKeyExchange(cli::array <System::Byte> ^ data);
public abstract byte[] CreateKeyExchange (byte[] data);
abstract member CreateKeyExchange : byte[] -> byte[]
Public MustOverride Function CreateKeyExchange (data As Byte()) As Byte()
Parameters
- data
- Byte[]
The secret information to be passed in the key exchange.
Returns
The encrypted key exchange data to be sent to the intended recipient.
Remarks
This data can only be interpreted by the holder of the private key corresponding to the public key used to encrypt the data. This helps to ensure that only the intended recipient can access the secret information.
See also
Applies to
CreateKeyExchange(Byte[], Type)
When overridden in a derived class, creates the encrypted key exchange data from the specified input data.
public:
abstract cli::array <System::Byte> ^ CreateKeyExchange(cli::array <System::Byte> ^ data, Type ^ symAlgType);
public abstract byte[] CreateKeyExchange (byte[] data, Type? symAlgType);
public abstract byte[] CreateKeyExchange (byte[] data, Type symAlgType);
abstract member CreateKeyExchange : byte[] * Type -> byte[]
Public MustOverride Function CreateKeyExchange (data As Byte(), symAlgType As Type) As Byte()
Parameters
- data
- Byte[]
The secret information to be passed in the key exchange.
- symAlgType
- Type
This parameter is not used in the current version.
Returns
The encrypted key exchange data to be sent to the intended recipient.
Remarks
This data can only be interpreted by the holder of the private key corresponding to the public key used to encrypt the data. This helps to ensure that only the intended recipient can access the secret information.
See also
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tijekom 2024. postupno ćemo ukinuti servis Problemi sa servisom GitHub kao mehanizam za povratne informacije za sadržaj i zamijeniti ga novim sustavom za povratne informacije. Dodatne informacije potražite u članku:Pošaljite i pogledajte povratne informacije za