using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// The exception that is thrown when an error occurs during a cryptographic operation.
// Token: 0x020003F5 RID: 1013
[Token(Token = "0x20003F5")]
[ComVisible(true)]
[Serializable]
public class CryptographicException : SystemException
{
/// Initializes a new instance of the class with default properties.
// Token: 0x06002349 RID: 9033 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002349")]
[Address(RVA = "0xC036A0", Offset = "0xC026A0", VA = "0x180C036A0")]
public CryptographicException()
{
}
/// Initializes a new instance of the class with a specified error message.
/// The error message that explains the reason for the exception.
// Token: 0x0600234A RID: 9034 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600234A")]
[Address(RVA = "0xC03670", Offset = "0xC02670", VA = "0x180C03670")]
public CryptographicException(string message)
{
}
/// Initializes a new instance of the class with a specified error message in the specified format.
/// The format used to output the error message.
/// The error message that explains the reason for the exception.
// Token: 0x0600234B RID: 9035 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600234B")]
[Address(RVA = "0xC03730", Offset = "0xC02730", VA = "0x180C03730")]
public CryptographicException(string format, string insert)
{
}
/// Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
/// The error message that explains the reason for the exception.
/// The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
// Token: 0x0600234C RID: 9036 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600234C")]
[Address(RVA = "0xC03700", Offset = "0xC02700", VA = "0x180C03700")]
public CryptographicException(string message, Exception inner)
{
}
/// Initializes a new instance of the class with the specified error code.
/// The error code.
// Token: 0x0600234D RID: 9037 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600234D")]
[Address(RVA = "0xC037D0", Offset = "0xC027D0", VA = "0x180C037D0")]
public CryptographicException(int hr)
{
}
/// Initializes a new instance of the class with serialized data.
/// The object that holds the serialized object data.
/// The contextual information about the source or destination.
// Token: 0x0600234E RID: 9038 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600234E")]
[Address(RVA = "0x7241B0", Offset = "0x7231B0", VA = "0x1807241B0")]
protected CryptographicException(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x0600234F RID: 9039 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600234F")]
[Address(RVA = "0xC03610", Offset = "0xC02610", VA = "0x180C03610")]
private static void ThrowCryptographicException(int hr)
{
}
// Token: 0x040013CB RID: 5067
[Token(Token = "0x40013CB")]
private const int FORMAT_MESSAGE_IGNORE_INSERTS = 512;
// Token: 0x040013CC RID: 5068
[Token(Token = "0x40013CC")]
private const int FORMAT_MESSAGE_FROM_SYSTEM = 4096;
// Token: 0x040013CD RID: 5069
[Token(Token = "0x40013CD")]
private const int FORMAT_MESSAGE_ARGUMENT_ARRAY = 8192;
}
}