using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// Verifies an PKCS #1 version 1.5 signature.
// Token: 0x02000429 RID: 1065
[Token(Token = "0x2000429")]
[ComVisible(true)]
public class RSAPKCS1SignatureDeformatter : AsymmetricSignatureDeformatter
{
/// Initializes a new instance of the class.
// Token: 0x060023F4 RID: 9204 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023F4")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public RSAPKCS1SignatureDeformatter()
{
}
/// Initializes a new instance of the class with the specified key.
/// The instance of that holds the public key.
///
/// is .
// Token: 0x060023F5 RID: 9205 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023F5")]
[Address(RVA = "0x2DF3130", Offset = "0x2DF1F30", VA = "0x182DF3130")]
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: 0x060023F6 RID: 9206 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023F6")]
[Address(RVA = "0x2DF2E70", Offset = "0x2DF1C70", VA = "0x182DF2E70", 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: 0x060023F7 RID: 9207 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023F7")]
[Address(RVA = "0x2DF2EE0", Offset = "0x2DF1CE0", VA = "0x182DF2EE0", 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: 0x060023F8 RID: 9208 RVA: 0x00015570 File Offset: 0x00013770
[Token(Token = "0x60023F8")]
[Address(RVA = "0x2DF2FA0", Offset = "0x2DF1DA0", VA = "0x182DF2FA0", Slot = "7")]
public override bool VerifySignature(byte[] rgbHash, byte[] rgbSignature)
{
return default(bool);
}
// Token: 0x0400145D RID: 5213
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x400145D")]
private RSA rsa;
// Token: 0x0400145E RID: 5214
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x400145E")]
private string hashName;
}
}