a
This commit is contained in:
@@ -0,0 +1,79 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Security.Cryptography
|
||||
{
|
||||
/// <summary>Creates a Digital Signature Algorithm (<see cref="T:System.Security.Cryptography.DSA" />) signature.</summary>
|
||||
// Token: 0x020003E8 RID: 1000
|
||||
[Token(Token = "0x20003E8")]
|
||||
[ComVisible(true)]
|
||||
public class DSASignatureFormatter : AsymmetricSignatureFormatter
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.DSASignatureFormatter" /> class.</summary>
|
||||
// Token: 0x060021A3 RID: 8611 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021A3")]
|
||||
[Address(RVA = "0x2DA64A0", Offset = "0x2DA52A0", VA = "0x182DA64A0")]
|
||||
public DSASignatureFormatter()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.DSASignatureFormatter" /> class with the specified key.</summary>
|
||||
/// <param name="key">The instance of the Digital Signature Algorithm (<see cref="T:System.Security.Cryptography.DSA" />) that holds the key.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="key" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x060021A4 RID: 8612 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021A4")]
|
||||
[Address(RVA = "0x2DA6510", Offset = "0x2DA5310", VA = "0x182DA6510")]
|
||||
public DSASignatureFormatter(AsymmetricAlgorithm key)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Specifies the key to be used for the Digital Signature Algorithm (<see cref="T:System.Security.Cryptography.DSA" />) signature formatter.</summary>
|
||||
/// <param name="key">The instance of <see cref="T:System.Security.Cryptography.DSA" /> that holds the key.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="key" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x060021A5 RID: 8613 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021A5")]
|
||||
[Address(RVA = "0x2DA63E0", Offset = "0x2DA51E0", VA = "0x182DA63E0", Slot = "4")]
|
||||
public override void SetKey(AsymmetricAlgorithm key)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Specifies the hash algorithm for the Digital Signature Algorithm (<see cref="T:System.Security.Cryptography.DSA" />) signature formatter.</summary>
|
||||
/// <param name="strName">The name of the hash algorithm to use for the signature formatter.</param>
|
||||
/// <exception cref="T:System.Security.Cryptography.CryptographicUnexpectedOperationException">The <paramref name="strName" /> parameter does not map to the <see cref="T:System.Security.Cryptography.SHA1" /> hash algorithm.</exception>
|
||||
// Token: 0x060021A6 RID: 8614 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60021A6")]
|
||||
[Address(RVA = "0x2DA6330", Offset = "0x2DA5130", VA = "0x182DA6330", Slot = "5")]
|
||||
public override void SetHashAlgorithm(string strName)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates the Digital Signature Algorithm (<see cref="T:System.Security.Cryptography.DSA" />) PKCS #1 signature for the specified data.</summary>
|
||||
/// <param name="rgbHash">The data to be signed.</param>
|
||||
/// <returns>The digital signature for the specified data.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="rgbHash" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.Security.Cryptography.CryptographicUnexpectedOperationException">The OID is <see langword="null" />.
|
||||
/// -or-
|
||||
/// The DSA key is <see langword="null" />.</exception>
|
||||
// Token: 0x060021A7 RID: 8615 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60021A7")]
|
||||
[Address(RVA = "0x2DA6220", Offset = "0x2DA5020", VA = "0x182DA6220", Slot = "7")]
|
||||
public override byte[] CreateSignature(byte[] rgbHash)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04001354 RID: 4948
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001354")]
|
||||
private DSA _dsaKey;
|
||||
|
||||
// Token: 0x04001355 RID: 4949
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001355")]
|
||||
private string _oid;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user