using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// Verifies a Digital Signature Algorithm () PKCS#1 v1.5 signature.
// Token: 0x02000403 RID: 1027
[Token(Token = "0x2000403")]
[ComVisible(true)]
public class DSASignatureDeformatter : AsymmetricSignatureDeformatter
{
/// Initializes a new instance of the class.
// Token: 0x060023AA RID: 9130 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023AA")]
[Address(RVA = "0xC07E50", Offset = "0xC06E50", VA = "0x180C07E50")]
public DSASignatureDeformatter()
{
}
/// Initializes a new instance of the class with the specified key.
/// The instance of Digital Signature Algorithm () that holds the key.
///
/// is .
// Token: 0x060023AB RID: 9131 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023AB")]
[Address(RVA = "0xC07D40", Offset = "0xC06D40", VA = "0x180C07D40")]
public DSASignatureDeformatter(AsymmetricAlgorithm key)
{
}
/// Specifies the key to be used for the Digital Signature Algorithm () signature deformatter.
/// The instance of that holds the key.
///
/// is .
// Token: 0x060023AC RID: 9132 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023AC")]
[Address(RVA = "0xC07B70", Offset = "0xC06B70", VA = "0x180C07B70", Slot = "4")]
public override void SetKey(AsymmetricAlgorithm key)
{
}
/// Specifies the hash algorithm for the Digital Signature Algorithm () signature deformatter.
/// The name of the hash algorithm to use for the signature deformatter.
/// The parameter does not map to the hash algorithm.
// Token: 0x060023AD RID: 9133 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023AD")]
[Address(RVA = "0xC07AC0", Offset = "0xC06AC0", VA = "0x180C07AC0", Slot = "5")]
public override void SetHashAlgorithm(string strName)
{
}
/// Verifies the Digital Signature Algorithm () signature on the data.
/// The data signed with .
/// The signature to be verified for .
///
/// if the signature is valid for the data; otherwise, .
///
/// is .
/// -or-
/// is .
/// The DSA key is missing.
// Token: 0x060023AE RID: 9134 RVA: 0x00016D58 File Offset: 0x00014F58
[Token(Token = "0x60023AE")]
[Address(RVA = "0xC07C30", Offset = "0xC06C30", VA = "0x180C07C30", Slot = "7")]
public override bool VerifySignature(byte[] rgbHash, byte[] rgbSignature)
{
return default(bool);
}
// Token: 0x04001415 RID: 5141
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001415")]
private DSA _dsaKey;
// Token: 0x04001416 RID: 5142
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001416")]
private string _oid;
}
}