Files
2026-04-08 23:40:05 +02:00

58 lines
1.7 KiB
C#

using System;
using System.Runtime.InteropServices;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Operators
{
// Token: 0x02001654 RID: 5716
[Token(Token = "0x2001654")]
[StructLayout(3)]
public class DefaultVerifierResult : IVerifier
{
// Token: 0x06009840 RID: 38976 RVA: 0x0021BA80 File Offset: 0x00219C80
[Token(Token = "0x6009840")]
[Address(RVA = "0x3C3A30", Offset = "0x3C2430", VA = "0x1803C3A30")]
public DefaultVerifierResult(ISigner signer)
{
this.mSigner = signer;
}
// Token: 0x06009841 RID: 38977 RVA: 0x0021BA9C File Offset: 0x00219C9C
[Token(Token = "0x6009841")]
[Address(RVA = "0x1DD2D10", Offset = "0x1DD1710", VA = "0x181DD2D10", Slot = "4")]
public bool IsVerified(byte[] signature)
{
ISigner signer = this.mSigner;
int num = 0;
num += num;
num++;
string algorithmName = signer.AlgorithmName;
throw new NullReferenceException();
}
// Token: 0x06009842 RID: 38978 RVA: 0x0021BAC8 File Offset: 0x00219CC8
[Token(Token = "0x6009842")]
[Address(RVA = "0x1DD2BE0", Offset = "0x1DD15E0", VA = "0x181DD2BE0", Slot = "5")]
public bool IsVerified(byte[] sig, int sigOff, int sigLen)
{
byte[] array = Arrays.CopyOfRange(sig, sigOff, sigOff);
ISigner signer = this.mSigner;
int num = 0;
if (num < sigOff)
{
num += num;
num++;
}
string algorithmName = signer.AlgorithmName;
array += array;
throw new NullReferenceException();
}
// Token: 0x0400640A RID: 25610
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x400640A")]
private readonly ISigner mSigner;
}
}