using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// Creates an PKCS #1 version 1.5 signature.
// Token: 0x02000446 RID: 1094
[Token(Token = "0x2000446")]
[ComVisible(true)]
public class RSAPKCS1SignatureFormatter : AsymmetricSignatureFormatter
{
/// Initializes a new instance of the class.
// Token: 0x06002605 RID: 9733 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002605")]
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
public RSAPKCS1SignatureFormatter()
{
}
/// Initializes a new instance of the class with the specified key.
/// The instance of the algorithm that holds the private key.
///
/// is .
// Token: 0x06002606 RID: 9734 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002606")]
[Address(RVA = "0x1026440", Offset = "0x1025440", VA = "0x181026440")]
public RSAPKCS1SignatureFormatter(AsymmetricAlgorithm key)
{
}
/// Creates the PKCS #1 signature for the specified data.
/// The data to be signed.
/// The digital signature for .
/// The key is .
/// -or-
/// The hash algorithm is .
/// The parameter is .
// Token: 0x06002607 RID: 9735 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002607")]
[Address(RVA = "0x10265A0", Offset = "0x10255A0", VA = "0x1810265A0", Slot = "7")]
public override byte[] CreateSignature(byte[] rgbHash)
{
return null;
}
/// Sets the hash algorithm to use for creating the signature.
/// The name of the hash algorithm to use for creating the signature.
// Token: 0x06002608 RID: 9736 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002608")]
[Address(RVA = "0x10266E0", Offset = "0x10256E0", VA = "0x1810266E0", Slot = "5")]
public override void SetHashAlgorithm(string strName)
{
}
/// Sets the private key to use for creating the signature.
/// The instance of the algorithm that holds the private key.
///
/// is .
// Token: 0x06002609 RID: 9737 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002609")]
[Address(RVA = "0x1026750", Offset = "0x1025750", VA = "0x181026750", Slot = "4")]
public override void SetKey(AsymmetricAlgorithm key)
{
}
// Token: 0x04001522 RID: 5410
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001522")]
private RSA rsa;
// Token: 0x04001523 RID: 5411
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001523")]
private string hash;
}
}