using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// Verifies a Digital Signature Algorithm () PKCS#1 v1.5 signature.
// Token: 0x020003E7 RID: 999
[Token(Token = "0x20003E7")]
[ComVisible(true)]
public class DSASignatureDeformatter : AsymmetricSignatureDeformatter
{
/// Initializes a new instance of the class.
// Token: 0x0600219E RID: 8606 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600219E")]
[Address(RVA = "0x2DA6150", Offset = "0x2DA4F50", VA = "0x182DA6150")]
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: 0x0600219F RID: 8607 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600219F")]
[Address(RVA = "0x2DA6040", Offset = "0x2DA4E40", VA = "0x182DA6040")]
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: 0x060021A0 RID: 8608 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60021A0")]
[Address(RVA = "0x2DA5E70", Offset = "0x2DA4C70", VA = "0x182DA5E70", 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: 0x060021A1 RID: 8609 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60021A1")]
[Address(RVA = "0x2DA5DC0", Offset = "0x2DA4BC0", VA = "0x182DA5DC0", 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: 0x060021A2 RID: 8610 RVA: 0x00014988 File Offset: 0x00012B88
[Token(Token = "0x60021A2")]
[Address(RVA = "0x2DA5F30", Offset = "0x2DA4D30", VA = "0x182DA5F30", Slot = "7")]
public override bool VerifySignature(byte[] rgbHash, byte[] rgbSignature)
{
return default(bool);
}
// Token: 0x04001352 RID: 4946
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001352")]
private DSA _dsaKey;
// Token: 0x04001353 RID: 4947
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001353")]
private string _oid;
}
}