91 lines
4.4 KiB
C#
91 lines
4.4 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Security.Cryptography
|
|
{
|
|
/// <summary>The exception that is thrown when an error occurs during a cryptographic operation.</summary>
|
|
// Token: 0x020003F5 RID: 1013
|
|
[Token(Token = "0x20003F5")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class CryptographicException : SystemException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.CryptographicException" /> class with default properties.</summary>
|
|
// Token: 0x06002349 RID: 9033 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002349")]
|
|
[Address(RVA = "0xC036A0", Offset = "0xC026A0", VA = "0x180C036A0")]
|
|
public CryptographicException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.CryptographicException" /> class with a specified error message.</summary>
|
|
/// <param name="message">The error message that explains the reason for the exception.</param>
|
|
// Token: 0x0600234A RID: 9034 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600234A")]
|
|
[Address(RVA = "0xC03670", Offset = "0xC02670", VA = "0x180C03670")]
|
|
public CryptographicException(string message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.CryptographicException" /> class with a specified error message in the specified format.</summary>
|
|
/// <param name="format">The format used to output the error message.</param>
|
|
/// <param name="insert">The error message that explains the reason for the exception.</param>
|
|
// 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)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.CryptographicException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
|
|
/// <param name="message">The error message that explains the reason for the exception.</param>
|
|
/// <param name="inner">The exception that is the cause of the current exception. If the <paramref name="inner" /> parameter is not <see langword="null" />, the current exception is raised in a <see langword="catch" /> block that handles the inner exception.</param>
|
|
// 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)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.CryptographicException" /> class with the specified <see langword="HRESULT" /> error code.</summary>
|
|
/// <param name="hr">The <see langword="HRESULT" /> error code.</param>
|
|
// Token: 0x0600234D RID: 9037 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600234D")]
|
|
[Address(RVA = "0xC037D0", Offset = "0xC027D0", VA = "0x180C037D0")]
|
|
public CryptographicException(int hr)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.CryptographicException" /> class with serialized data.</summary>
|
|
/// <param name="info">The object that holds the serialized object data.</param>
|
|
/// <param name="context">The contextual information about the source or destination.</param>
|
|
// 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;
|
|
}
|
|
}
|