using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// Verifies an PKCS #1 version 1.5 signature.
// Token: 0x02000445 RID: 1093
[Token(Token = "0x2000445")]
[ComVisible(true)]
public class RSAPKCS1SignatureDeformatter : AsymmetricSignatureDeformatter
{
/// Initializes a new instance of the class.
// Token: 0x06002600 RID: 9728 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002600")]
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
public RSAPKCS1SignatureDeformatter()
{
}
/// Initializes a new instance of the class with the specified key.
/// The instance of that holds the public key.
///
/// is .
// Token: 0x06002601 RID: 9729 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002601")]
[Address(RVA = "0x1026440", Offset = "0x1025440", VA = "0x181026440")]
public RSAPKCS1SignatureDeformatter(AsymmetricAlgorithm key)
{
}
/// Sets the hash algorithm to use for verifying the signature.
/// The name of the hash algorithm to use for verifying the signature.
// Token: 0x06002602 RID: 9730 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002602")]
[Address(RVA = "0x1026180", Offset = "0x1025180", VA = "0x181026180", Slot = "5")]
public override void SetHashAlgorithm(string strName)
{
}
/// Sets the public key to use for verifying the signature.
/// The instance of that holds the public key.
///
/// is .
// Token: 0x06002603 RID: 9731 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002603")]
[Address(RVA = "0x10261F0", Offset = "0x10251F0", VA = "0x1810261F0", Slot = "4")]
public override void SetKey(AsymmetricAlgorithm key)
{
}
/// Verifies the PKCS#1 signature for the specified data.
/// The data signed with .
/// The signature to be verified for .
///
/// if matches the signature computed using the specified hash algorithm and key on ; otherwise, .
/// The key is .
/// -or-
/// The hash algorithm is .
/// The parameter is .
/// -or-
/// The parameter is .
// Token: 0x06002604 RID: 9732 RVA: 0x00017940 File Offset: 0x00015B40
[Token(Token = "0x6002604")]
[Address(RVA = "0x10262B0", Offset = "0x10252B0", VA = "0x1810262B0", Slot = "7")]
public override bool VerifySignature(byte[] rgbHash, byte[] rgbSignature)
{
return default(bool);
}
// Token: 0x04001520 RID: 5408
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001520")]
private RSA rsa;
// Token: 0x04001521 RID: 5409
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001521")]
private string hashName;
}
}