oh dear
This commit is contained in:
@@ -0,0 +1,717 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509
|
||||
{
|
||||
// Token: 0x02001E2F RID: 7727
|
||||
[Token(Token = "0x2001E2F")]
|
||||
public class X509Extensions : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C3C4 RID: 50116 RVA: 0x002C95E0 File Offset: 0x002C77E0
|
||||
[Token(Token = "0x600C3C4")]
|
||||
[Address(RVA = "0x2B48270", Offset = "0x2B47070", VA = "0x182B48270")]
|
||||
public static X509Extensions GetInstance(Asn1TaggedObject obj, bool explicitly)
|
||||
{
|
||||
return X509Extensions.GetInstance(Asn1Sequence.GetInstance(obj, explicitly));
|
||||
}
|
||||
|
||||
// Token: 0x0600C3C5 RID: 50117 RVA: 0x002C95FC File Offset: 0x002C77FC
|
||||
[Token(Token = "0x600C3C5")]
|
||||
[Address(RVA = "0x2B47FC0", Offset = "0x2B46DC0", VA = "0x182B47FC0")]
|
||||
public static X509Extensions GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C3C5)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509Extensions BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509Extensions::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_40:
|
||||
stloc:string(var_9_46, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_10_5E, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_9_46)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C3C6 RID: 50118 RVA: 0x002C9668 File Offset: 0x002C7868
|
||||
[Token(Token = "0x600C3C6")]
|
||||
[Address(RVA = "0x2B49320", Offset = "0x2B48120", VA = "0x182B49320")]
|
||||
private X509Extensions(Asn1Sequence seq)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
IDictionary dictionary = Platform.CreateHashtable();
|
||||
this.extensions = dictionary;
|
||||
base..ctor();
|
||||
IList list = Platform.CreateArrayList();
|
||||
this.ordering = list;
|
||||
IEnumerator enumerator = seq.GetEnumerator();
|
||||
X509Extension x509Extension;
|
||||
if (enumerator != 0)
|
||||
{
|
||||
if (enumerator == 0 || enumerator == 0)
|
||||
{
|
||||
goto IL_112;
|
||||
}
|
||||
Asn1Sequence asn1Sequence;
|
||||
Asn1SequenceParser parser = asn1Sequence.Parser;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable != (ulong)3L)
|
||||
{
|
||||
}
|
||||
Asn1SequenceParser parser2 = asn1Sequence.Parser;
|
||||
DerBoolean derBoolean;
|
||||
bool isTrue = derBoolean.IsTrue;
|
||||
Asn1SequenceParser parser3 = asn1Sequence.Parser;
|
||||
IDictionary dictionary2 = this.extensions;
|
||||
Asn1OctetString asn1OctetString;
|
||||
if (asn1OctetString != 0)
|
||||
{
|
||||
goto IL_C2;
|
||||
}
|
||||
IDictionary dictionary3 = this.extensions;
|
||||
x509Extension.critical = isTrue;
|
||||
x509Extension.value = asn1OctetString;
|
||||
IList list2 = this.ordering;
|
||||
num = 0;
|
||||
}
|
||||
if (x509Extension != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
return;
|
||||
IL_C2:
|
||||
DerObjectIdentifier derObjectIdentifier;
|
||||
ArgumentException ex = new ArgumentException("repeated extension found: " + derObjectIdentifier);
|
||||
throw new NullReferenceException();
|
||||
IL_112:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C3C7 RID: 50119 RVA: 0x002C9794 File Offset: 0x002C7994
|
||||
[Token(Token = "0x600C3C7")]
|
||||
[Address(RVA = "0x2B49BB0", Offset = "0x2B489B0", VA = "0x182B49BB0")]
|
||||
public X509Extensions(IDictionary extensions)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C3C8 RID: 50120 RVA: 0x002C97A4 File Offset: 0x002C79A4
|
||||
[Token(Token = "0x600C3C8")]
|
||||
[Address(RVA = "0x2B49BC0", Offset = "0x2B489C0", VA = "0x182B49BC0")]
|
||||
public X509Extensions(IList ordering, IDictionary extensions)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
IDictionary dictionary = Platform.CreateHashtable();
|
||||
this.extensions = dictionary;
|
||||
base..ctor();
|
||||
if (ordering == 0)
|
||||
{
|
||||
}
|
||||
IList list = Platform.CreateArrayList(ordering);
|
||||
this.ordering = list;
|
||||
if (list != 0)
|
||||
{
|
||||
if (num < list)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
if (list == 0)
|
||||
{
|
||||
}
|
||||
if (list == 0)
|
||||
{
|
||||
goto IL_99;
|
||||
}
|
||||
IDictionary dictionary2 = this.extensions;
|
||||
if (num < list)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
if (num == 0)
|
||||
{
|
||||
num += 19;
|
||||
}
|
||||
if (num == 0)
|
||||
{
|
||||
goto IL_8D;
|
||||
}
|
||||
if (num < num)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
list += list;
|
||||
num += 5;
|
||||
num += 19;
|
||||
}
|
||||
if (num != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
return;
|
||||
IL_8D:
|
||||
throw new NullReferenceException();
|
||||
IL_99:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C3C9 RID: 50121 RVA: 0x002C9850 File Offset: 0x002C7A50
|
||||
[Token(Token = "0x600C3C9")]
|
||||
[Address(RVA = "0x2B48FA0", Offset = "0x2B47DA0", VA = "0x182B48FA0")]
|
||||
public X509Extensions(IList oids, IList values)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
IDictionary dictionary = Platform.CreateHashtable();
|
||||
this.extensions = dictionary;
|
||||
base..ctor();
|
||||
IList list = Platform.CreateArrayList(oids);
|
||||
this.ordering = list;
|
||||
if (list != 0)
|
||||
{
|
||||
if (num < list)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
if (list == 0)
|
||||
{
|
||||
}
|
||||
if (list == 0)
|
||||
{
|
||||
goto IL_99;
|
||||
}
|
||||
IDictionary dictionary2 = this.extensions;
|
||||
num++;
|
||||
if (num < list)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
if (num == 0)
|
||||
{
|
||||
num += 19;
|
||||
}
|
||||
if (num == 0)
|
||||
{
|
||||
goto IL_8D;
|
||||
}
|
||||
if (num < num)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
list += list;
|
||||
num += 5;
|
||||
num += 19;
|
||||
}
|
||||
if (num != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
return;
|
||||
IL_8D:
|
||||
throw new NullReferenceException();
|
||||
IL_99:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C3CA RID: 50122 RVA: 0x002C98FC File Offset: 0x002C7AFC
|
||||
[Token(Token = "0x600C3CA")]
|
||||
[Address(RVA = "0x2B49BA0", Offset = "0x2B489A0", VA = "0x182B49BA0")]
|
||||
[Obsolete]
|
||||
public X509Extensions(Hashtable extensions)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C3CB RID: 50123 RVA: 0x002C990C File Offset: 0x002C7B0C
|
||||
[Token(Token = "0x600C3CB")]
|
||||
[Address(RVA = "0x2B49830", Offset = "0x2B48630", VA = "0x182B49830")]
|
||||
[Obsolete]
|
||||
public X509Extensions(ArrayList ordering, Hashtable extensions)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
IDictionary dictionary = Platform.CreateHashtable();
|
||||
this.extensions = dictionary;
|
||||
base..ctor();
|
||||
if (ordering == 0)
|
||||
{
|
||||
}
|
||||
IList list = Platform.CreateArrayList(ordering);
|
||||
this.ordering = list;
|
||||
if (list != 0)
|
||||
{
|
||||
if (num < list)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
if (list == 0)
|
||||
{
|
||||
}
|
||||
if (list == 0)
|
||||
{
|
||||
goto IL_82;
|
||||
}
|
||||
IDictionary dictionary2 = this.extensions;
|
||||
num += num;
|
||||
num++;
|
||||
list += list;
|
||||
num += 5;
|
||||
num += 19;
|
||||
}
|
||||
if (num != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
return;
|
||||
IL_82:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C3CC RID: 50124 RVA: 0x002C99A0 File Offset: 0x002C7BA0
|
||||
[Token(Token = "0x600C3CC")]
|
||||
[Address(RVA = "0x2B49F80", Offset = "0x2B48D80", VA = "0x182B49F80")]
|
||||
[Obsolete]
|
||||
public X509Extensions(ArrayList oids, ArrayList values)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
IDictionary dictionary = Platform.CreateHashtable();
|
||||
this.extensions = dictionary;
|
||||
base..ctor();
|
||||
IList list = Platform.CreateArrayList(oids);
|
||||
this.ordering = list;
|
||||
if (list != 0)
|
||||
{
|
||||
if (num < list)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
if (list == 0)
|
||||
{
|
||||
}
|
||||
if (list == 0)
|
||||
{
|
||||
goto IL_93;
|
||||
}
|
||||
IDictionary dictionary2 = this.extensions;
|
||||
num++;
|
||||
object syncRoot = values.SyncRoot;
|
||||
if (syncRoot == 0)
|
||||
{
|
||||
}
|
||||
if (syncRoot == 0)
|
||||
{
|
||||
goto IL_87;
|
||||
}
|
||||
if (num < syncRoot)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
list += list;
|
||||
num += 5;
|
||||
num += 19;
|
||||
}
|
||||
if (num != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
return;
|
||||
IL_87:
|
||||
throw new NullReferenceException();
|
||||
IL_93:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C3CD RID: 50125 RVA: 0x002C9A48 File Offset: 0x002C7C48
|
||||
[Token(Token = "0x600C3CD")]
|
||||
[Address(RVA = "0x2B482F0", Offset = "0x2B470F0", VA = "0x182B482F0")]
|
||||
[Obsolete]
|
||||
public IEnumerator Oids()
|
||||
{
|
||||
EnumerableProxy enumerableProxy = new EnumerableProxy(this.ordering);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17001E5C RID: 7772
|
||||
// (get) Token: 0x0600C3CE RID: 50126 RVA: 0x002C9A68 File Offset: 0x002C7C68
|
||||
[Token(Token = "0x17001E5C")]
|
||||
public IEnumerable ExtensionOids
|
||||
{
|
||||
[Token(Token = "0x600C3CE")]
|
||||
[Address(RVA = "0x2B4A2B0", Offset = "0x2B490B0", VA = "0x182B4A2B0")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C3CE)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerable BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509Extensions::get_ExtensionOids()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:EnumerableProxy(var_0_0B, newobj:EnumerableProxy(EnumerableProxy::.ctor, ldfld:IList[exp:IEnumerable](X509Extensions::ordering, ldloc:X509Extensions(this))))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C3CF RID: 50127 RVA: 0x002C9A80 File Offset: 0x002C7C80
|
||||
[Token(Token = "0x600C3CF")]
|
||||
[Address(RVA = "0x2B47F10", Offset = "0x2B46D10", VA = "0x182B47F10")]
|
||||
public X509Extension GetExtension(DerObjectIdentifier oid)
|
||||
{
|
||||
IDictionary dictionary;
|
||||
do
|
||||
{
|
||||
dictionary = this.extensions;
|
||||
}
|
||||
while (dictionary == 0);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C3D0 RID: 50128 RVA: 0x002C9AA4 File Offset: 0x002C7CA4
|
||||
[Token(Token = "0x600C3D0")]
|
||||
[Address(RVA = "0x2B48380", Offset = "0x2B47180", VA = "0x182B48380", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
for (;;)
|
||||
{
|
||||
int num = 0;
|
||||
IList list = this.ordering;
|
||||
if (asn1EncodableVector != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
ArrayTypeMismatchException ex;
|
||||
if (ex != 0)
|
||||
{
|
||||
}
|
||||
if (num == 0)
|
||||
{
|
||||
goto Block_3;
|
||||
}
|
||||
}
|
||||
if (asn1EncodableVector == 0)
|
||||
{
|
||||
}
|
||||
int num2 = 0;
|
||||
if (asn1EncodableVector == 0)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
IDictionary dictionary = this.extensions;
|
||||
if (num2 == 0)
|
||||
{
|
||||
}
|
||||
if (num2 != 0)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
if (asn1EncodableVector != 0)
|
||||
{
|
||||
}
|
||||
array[0] = asn1EncodableVector;
|
||||
Asn1EncodableVector asn1EncodableVector2 = new Asn1EncodableVector(array);
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
DerBoolean @true = DerBoolean.True;
|
||||
throw new ArrayTypeMismatchException();
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
Block_3:
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C3D1 RID: 50129 RVA: 0x002C9BEC File Offset: 0x002C7DEC
|
||||
[Token(Token = "0x600C3D1")]
|
||||
[Address(RVA = "0x2B47840", Offset = "0x2B46640", VA = "0x182B47840")]
|
||||
public bool Equivalent(X509Extensions other)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
IDictionary dictionary = this.extensions;
|
||||
IDictionary dictionary2 = other.extensions;
|
||||
IDictionary dictionary3 = this.extensions;
|
||||
IDictionary dictionary4 = this.extensions;
|
||||
}
|
||||
while (num != 0);
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C3D2 RID: 50130 RVA: 0x002C9C44 File Offset: 0x002C7E44
|
||||
[Token(Token = "0x600C3D2")]
|
||||
[Address(RVA = "0x2B47B30", Offset = "0x2B46930", VA = "0x182B47B30")]
|
||||
public DerObjectIdentifier[] GetExtensionOids()
|
||||
{
|
||||
return X509Extensions.ToOidArray(this.ordering);
|
||||
}
|
||||
|
||||
// Token: 0x0600C3D3 RID: 50131 RVA: 0x002C9C5C File Offset: 0x002C7E5C
|
||||
[Token(Token = "0x600C3D3")]
|
||||
[Address(RVA = "0x2B482E0", Offset = "0x2B470E0", VA = "0x182B482E0")]
|
||||
public DerObjectIdentifier[] GetNonCriticalExtensionOids()
|
||||
{
|
||||
int num = 0;
|
||||
return this.GetExtensionOids(num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x0600C3D4 RID: 50132 RVA: 0x002C9C74 File Offset: 0x002C7E74
|
||||
[Token(Token = "0x600C3D4")]
|
||||
[Address(RVA = "0x2B47B20", Offset = "0x2B46920", VA = "0x182B47B20")]
|
||||
public DerObjectIdentifier[] GetCriticalExtensionOids()
|
||||
{
|
||||
return this.GetExtensionOids(true);
|
||||
}
|
||||
|
||||
// Token: 0x0600C3D5 RID: 50133 RVA: 0x002C9C88 File Offset: 0x002C7E88
|
||||
[Token(Token = "0x600C3D5")]
|
||||
[Address(RVA = "0x2B47B90", Offset = "0x2B46990", VA = "0x182B47B90")]
|
||||
private DerObjectIdentifier[] GetExtensionOids(bool isCritical)
|
||||
{
|
||||
int num;
|
||||
IList list;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
list = Platform.CreateArrayList();
|
||||
IList list2 = this.ordering;
|
||||
if (list != 0)
|
||||
{
|
||||
if (num < list)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
if (list == 0)
|
||||
{
|
||||
}
|
||||
if (list == 0)
|
||||
{
|
||||
goto IL_89;
|
||||
}
|
||||
IDictionary dictionary = this.extensions;
|
||||
if (num < list)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
int num2 = 0;
|
||||
num2 += num2;
|
||||
num += 19;
|
||||
ulong num3;
|
||||
num = (int)((ulong)num + num3);
|
||||
if (num == 0 || num == 0)
|
||||
{
|
||||
goto IL_7D;
|
||||
}
|
||||
}
|
||||
if (num != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
return X509Extensions.ToOidArray(list);
|
||||
IL_7D:
|
||||
throw new NullReferenceException();
|
||||
IL_89:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C3D6 RID: 50134 RVA: 0x002C9D24 File Offset: 0x002C7F24
|
||||
[Token(Token = "0x600C3D6")]
|
||||
[Address(RVA = "0x2B48800", Offset = "0x2B47600", VA = "0x182B48800")]
|
||||
private static DerObjectIdentifier[] ToOidArray(IList oids)
|
||||
{
|
||||
DerObjectIdentifier[] array = new DerObjectIdentifier[0];
|
||||
int num = 0;
|
||||
num += num;
|
||||
num++;
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x04007B48 RID: 31560
|
||||
[Token(Token = "0x4007B48")]
|
||||
public static readonly DerObjectIdentifier SubjectDirectoryAttributes = new DerObjectIdentifier("2.5.29.9");
|
||||
|
||||
// Token: 0x04007B49 RID: 31561
|
||||
[Token(Token = "0x4007B49")]
|
||||
public static readonly DerObjectIdentifier SubjectKeyIdentifier = new DerObjectIdentifier("2.5.29.14");
|
||||
|
||||
// Token: 0x04007B4A RID: 31562
|
||||
[Token(Token = "0x4007B4A")]
|
||||
public static readonly DerObjectIdentifier KeyUsage = new DerObjectIdentifier("2.5.29.15");
|
||||
|
||||
// Token: 0x04007B4B RID: 31563
|
||||
[Token(Token = "0x4007B4B")]
|
||||
public static readonly DerObjectIdentifier PrivateKeyUsagePeriod = new DerObjectIdentifier("2.5.29.16");
|
||||
|
||||
// Token: 0x04007B4C RID: 31564
|
||||
[Token(Token = "0x4007B4C")]
|
||||
public static readonly DerObjectIdentifier SubjectAlternativeName = new DerObjectIdentifier("2.5.29.17");
|
||||
|
||||
// Token: 0x04007B4D RID: 31565
|
||||
[Token(Token = "0x4007B4D")]
|
||||
public static readonly DerObjectIdentifier IssuerAlternativeName = new DerObjectIdentifier("2.5.29.18");
|
||||
|
||||
// Token: 0x04007B4E RID: 31566
|
||||
[Token(Token = "0x4007B4E")]
|
||||
public static readonly DerObjectIdentifier BasicConstraints = new DerObjectIdentifier("2.5.29.19");
|
||||
|
||||
// Token: 0x04007B4F RID: 31567
|
||||
[Token(Token = "0x4007B4F")]
|
||||
public static readonly DerObjectIdentifier CrlNumber = new DerObjectIdentifier("2.5.29.20");
|
||||
|
||||
// Token: 0x04007B50 RID: 31568
|
||||
[Token(Token = "0x4007B50")]
|
||||
public static readonly DerObjectIdentifier ReasonCode = new DerObjectIdentifier("2.5.29.21");
|
||||
|
||||
// Token: 0x04007B51 RID: 31569
|
||||
[Token(Token = "0x4007B51")]
|
||||
public static readonly DerObjectIdentifier InstructionCode = new DerObjectIdentifier("2.5.29.23");
|
||||
|
||||
// Token: 0x04007B52 RID: 31570
|
||||
[Token(Token = "0x4007B52")]
|
||||
public static readonly DerObjectIdentifier InvalidityDate = new DerObjectIdentifier("2.5.29.24");
|
||||
|
||||
// Token: 0x04007B53 RID: 31571
|
||||
[Token(Token = "0x4007B53")]
|
||||
public static readonly DerObjectIdentifier DeltaCrlIndicator = new DerObjectIdentifier("2.5.29.27");
|
||||
|
||||
// Token: 0x04007B54 RID: 31572
|
||||
[Token(Token = "0x4007B54")]
|
||||
public static readonly DerObjectIdentifier IssuingDistributionPoint = new DerObjectIdentifier("2.5.29.28");
|
||||
|
||||
// Token: 0x04007B55 RID: 31573
|
||||
[Token(Token = "0x4007B55")]
|
||||
public static readonly DerObjectIdentifier CertificateIssuer = new DerObjectIdentifier("2.5.29.29");
|
||||
|
||||
// Token: 0x04007B56 RID: 31574
|
||||
[Token(Token = "0x4007B56")]
|
||||
public static readonly DerObjectIdentifier NameConstraints = new DerObjectIdentifier("2.5.29.30");
|
||||
|
||||
// Token: 0x04007B57 RID: 31575
|
||||
[Token(Token = "0x4007B57")]
|
||||
public static readonly DerObjectIdentifier CrlDistributionPoints = new DerObjectIdentifier("2.5.29.31");
|
||||
|
||||
// Token: 0x04007B58 RID: 31576
|
||||
[Token(Token = "0x4007B58")]
|
||||
public static readonly DerObjectIdentifier CertificatePolicies = new DerObjectIdentifier("2.5.29.32");
|
||||
|
||||
// Token: 0x04007B59 RID: 31577
|
||||
[Token(Token = "0x4007B59")]
|
||||
public static readonly DerObjectIdentifier PolicyMappings = new DerObjectIdentifier("2.5.29.33");
|
||||
|
||||
// Token: 0x04007B5A RID: 31578
|
||||
[Token(Token = "0x4007B5A")]
|
||||
public static readonly DerObjectIdentifier AuthorityKeyIdentifier = new DerObjectIdentifier("2.5.29.35");
|
||||
|
||||
// Token: 0x04007B5B RID: 31579
|
||||
[Token(Token = "0x4007B5B")]
|
||||
public static readonly DerObjectIdentifier PolicyConstraints = new DerObjectIdentifier("2.5.29.36");
|
||||
|
||||
// Token: 0x04007B5C RID: 31580
|
||||
[Token(Token = "0x4007B5C")]
|
||||
public static readonly DerObjectIdentifier ExtendedKeyUsage = new DerObjectIdentifier("2.5.29.37");
|
||||
|
||||
// Token: 0x04007B5D RID: 31581
|
||||
[Token(Token = "0x4007B5D")]
|
||||
public static readonly DerObjectIdentifier FreshestCrl = new DerObjectIdentifier("2.5.29.46");
|
||||
|
||||
// Token: 0x04007B5E RID: 31582
|
||||
[Token(Token = "0x4007B5E")]
|
||||
public static readonly DerObjectIdentifier InhibitAnyPolicy = new DerObjectIdentifier("2.5.29.54");
|
||||
|
||||
// Token: 0x04007B5F RID: 31583
|
||||
[Token(Token = "0x4007B5F")]
|
||||
public static readonly DerObjectIdentifier AuthorityInfoAccess = new DerObjectIdentifier("1.3.6.1.5.5.7.1.1");
|
||||
|
||||
// Token: 0x04007B60 RID: 31584
|
||||
[Token(Token = "0x4007B60")]
|
||||
public static readonly DerObjectIdentifier SubjectInfoAccess = new DerObjectIdentifier("1.3.6.1.5.5.7.1.11");
|
||||
|
||||
// Token: 0x04007B61 RID: 31585
|
||||
[Token(Token = "0x4007B61")]
|
||||
public static readonly DerObjectIdentifier LogoType = new DerObjectIdentifier("1.3.6.1.5.5.7.1.12");
|
||||
|
||||
// Token: 0x04007B62 RID: 31586
|
||||
[Token(Token = "0x4007B62")]
|
||||
public static readonly DerObjectIdentifier BiometricInfo = new DerObjectIdentifier("1.3.6.1.5.5.7.1.2");
|
||||
|
||||
// Token: 0x04007B63 RID: 31587
|
||||
[Token(Token = "0x4007B63")]
|
||||
public static readonly DerObjectIdentifier QCStatements = new DerObjectIdentifier("1.3.6.1.5.5.7.1.3");
|
||||
|
||||
// Token: 0x04007B64 RID: 31588
|
||||
[Token(Token = "0x4007B64")]
|
||||
public static readonly DerObjectIdentifier AuditIdentity = new DerObjectIdentifier("1.3.6.1.5.5.7.1.4");
|
||||
|
||||
// Token: 0x04007B65 RID: 31589
|
||||
[Token(Token = "0x4007B65")]
|
||||
public static readonly DerObjectIdentifier NoRevAvail = new DerObjectIdentifier("2.5.29.56");
|
||||
|
||||
// Token: 0x04007B66 RID: 31590
|
||||
[Token(Token = "0x4007B66")]
|
||||
public static readonly DerObjectIdentifier TargetInformation = new DerObjectIdentifier("2.5.29.55");
|
||||
|
||||
// Token: 0x04007B67 RID: 31591
|
||||
[Token(Token = "0x4007B67")]
|
||||
public static readonly DerObjectIdentifier ExpiredCertsOnCrl = new DerObjectIdentifier("2.5.29.60");
|
||||
|
||||
// Token: 0x04007B68 RID: 31592
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007B68")]
|
||||
private readonly IDictionary extensions;
|
||||
|
||||
// Token: 0x04007B69 RID: 31593
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007B69")]
|
||||
private readonly IList ordering;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user