scripts
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace System.Security.Cryptography
|
||||
{
|
||||
/// <summary>Represents the base class from which all asymmetric key exchange deformatters derive.</summary>
|
||||
// Token: 0x020004E6 RID: 1254
|
||||
[ComVisible(true)]
|
||||
public abstract class AsymmetricKeyExchangeDeformatter
|
||||
{
|
||||
/// <summary>When overridden in a derived class, gets or sets the parameters for the asymmetric key exchange.</summary>
|
||||
/// <returns>A string in XML format containing the parameters of the asymmetric key exchange operation.</returns>
|
||||
// Token: 0x1700092E RID: 2350
|
||||
// (get) Token: 0x06002E8A RID: 11914
|
||||
// (set) Token: 0x06002E8B RID: 11915
|
||||
public abstract string Parameters { get; set; }
|
||||
|
||||
/// <summary>When overridden in a derived class, extracts secret information from the encrypted key exchange data.</summary>
|
||||
/// <returns>The secret information derived from the key exchange data.</returns>
|
||||
/// <param name="rgb">The key exchange data within which the secret information is hidden. </param>
|
||||
// Token: 0x06002E8C RID: 11916
|
||||
public abstract byte[] DecryptKeyExchange(byte[] rgb);
|
||||
|
||||
/// <summary>When overridden in a derived class, sets the private key to use for decrypting the secret information.</summary>
|
||||
/// <param name="key">The instance of the implementation of <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> that holds the private key. </param>
|
||||
// Token: 0x06002E8D RID: 11917
|
||||
public abstract void SetKey(AsymmetricAlgorithm key);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user