m
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: 0x02001F0F RID: 7951
|
||||
[Token(Token = "0x2001F0F")]
|
||||
public class X509Extensions : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C792 RID: 51090 RVA: 0x002D1E5C File Offset: 0x002D005C
|
||||
[Token(Token = "0x600C792")]
|
||||
[Address(RVA = "0x2E8F8A0", Offset = "0x2E8E8A0", VA = "0x182E8F8A0")]
|
||||
public static X509Extensions GetInstance(Asn1TaggedObject obj, bool explicitly)
|
||||
{
|
||||
return X509Extensions.GetInstance(Asn1Sequence.GetInstance(obj, explicitly));
|
||||
}
|
||||
|
||||
// Token: 0x0600C793 RID: 51091 RVA: 0x002D1E78 File Offset: 0x002D0078
|
||||
[Token(Token = "0x600C793")]
|
||||
[Address(RVA = "0x2E8F5F0", Offset = "0x2E8E5F0", VA = "0x182E8F5F0")]
|
||||
public static X509Extensions GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C793)
|
||||
|
||||
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: 0x0600C794 RID: 51092 RVA: 0x002D1EE4 File Offset: 0x002D00E4
|
||||
[Token(Token = "0x600C794")]
|
||||
[Address(RVA = "0x2E90950", Offset = "0x2E8F950", VA = "0x182E90950")]
|
||||
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: 0x0600C795 RID: 51093 RVA: 0x002D2010 File Offset: 0x002D0210
|
||||
[Token(Token = "0x600C795")]
|
||||
[Address(RVA = "0x2E911E0", Offset = "0x2E901E0", VA = "0x182E911E0")]
|
||||
public X509Extensions(IDictionary extensions)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C796 RID: 51094 RVA: 0x002D2020 File Offset: 0x002D0220
|
||||
[Token(Token = "0x600C796")]
|
||||
[Address(RVA = "0x2E911F0", Offset = "0x2E901F0", VA = "0x182E911F0")]
|
||||
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: 0x0600C797 RID: 51095 RVA: 0x002D20CC File Offset: 0x002D02CC
|
||||
[Token(Token = "0x600C797")]
|
||||
[Address(RVA = "0x2E905D0", Offset = "0x2E8F5D0", VA = "0x182E905D0")]
|
||||
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: 0x0600C798 RID: 51096 RVA: 0x002D2178 File Offset: 0x002D0378
|
||||
[Token(Token = "0x600C798")]
|
||||
[Address(RVA = "0x2E911D0", Offset = "0x2E901D0", VA = "0x182E911D0")]
|
||||
[Obsolete]
|
||||
public X509Extensions(Hashtable extensions)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C799 RID: 51097 RVA: 0x002D2188 File Offset: 0x002D0388
|
||||
[Token(Token = "0x600C799")]
|
||||
[Address(RVA = "0x2E90E60", Offset = "0x2E8FE60", VA = "0x182E90E60")]
|
||||
[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: 0x0600C79A RID: 51098 RVA: 0x002D221C File Offset: 0x002D041C
|
||||
[Token(Token = "0x600C79A")]
|
||||
[Address(RVA = "0x2E915B0", Offset = "0x2E905B0", VA = "0x182E915B0")]
|
||||
[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: 0x0600C79B RID: 51099 RVA: 0x002D22C4 File Offset: 0x002D04C4
|
||||
[Token(Token = "0x600C79B")]
|
||||
[Address(RVA = "0x2E8F920", Offset = "0x2E8E920", VA = "0x182E8F920")]
|
||||
[Obsolete]
|
||||
public IEnumerator Oids()
|
||||
{
|
||||
EnumerableProxy enumerableProxy = new EnumerableProxy(this.ordering);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17001EF9 RID: 7929
|
||||
// (get) Token: 0x0600C79C RID: 51100 RVA: 0x002D22E4 File Offset: 0x002D04E4
|
||||
[Token(Token = "0x17001EF9")]
|
||||
public IEnumerable ExtensionOids
|
||||
{
|
||||
[Token(Token = "0x600C79C")]
|
||||
[Address(RVA = "0x2E918E0", Offset = "0x2E908E0", VA = "0x182E918E0")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C79C)
|
||||
|
||||
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: 0x0600C79D RID: 51101 RVA: 0x002D22FC File Offset: 0x002D04FC
|
||||
[Token(Token = "0x600C79D")]
|
||||
[Address(RVA = "0x2E8F540", Offset = "0x2E8E540", VA = "0x182E8F540")]
|
||||
public X509Extension GetExtension(DerObjectIdentifier oid)
|
||||
{
|
||||
IDictionary dictionary;
|
||||
do
|
||||
{
|
||||
dictionary = this.extensions;
|
||||
}
|
||||
while (dictionary == 0);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C79E RID: 51102 RVA: 0x002D2320 File Offset: 0x002D0520
|
||||
[Token(Token = "0x600C79E")]
|
||||
[Address(RVA = "0x2E8F9B0", Offset = "0x2E8E9B0", VA = "0x182E8F9B0", 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: 0x0600C79F RID: 51103 RVA: 0x002D2468 File Offset: 0x002D0668
|
||||
[Token(Token = "0x600C79F")]
|
||||
[Address(RVA = "0x2E8EE70", Offset = "0x2E8DE70", VA = "0x182E8EE70")]
|
||||
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: 0x0600C7A0 RID: 51104 RVA: 0x002D24C0 File Offset: 0x002D06C0
|
||||
[Token(Token = "0x600C7A0")]
|
||||
[Address(RVA = "0x2E8F160", Offset = "0x2E8E160", VA = "0x182E8F160")]
|
||||
public DerObjectIdentifier[] GetExtensionOids()
|
||||
{
|
||||
return X509Extensions.ToOidArray(this.ordering);
|
||||
}
|
||||
|
||||
// Token: 0x0600C7A1 RID: 51105 RVA: 0x002D24D8 File Offset: 0x002D06D8
|
||||
[Token(Token = "0x600C7A1")]
|
||||
[Address(RVA = "0x2E8F910", Offset = "0x2E8E910", VA = "0x182E8F910")]
|
||||
public DerObjectIdentifier[] GetNonCriticalExtensionOids()
|
||||
{
|
||||
int num = 0;
|
||||
return this.GetExtensionOids(num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x0600C7A2 RID: 51106 RVA: 0x002D24F0 File Offset: 0x002D06F0
|
||||
[Token(Token = "0x600C7A2")]
|
||||
[Address(RVA = "0x2E8F150", Offset = "0x2E8E150", VA = "0x182E8F150")]
|
||||
public DerObjectIdentifier[] GetCriticalExtensionOids()
|
||||
{
|
||||
return this.GetExtensionOids(true);
|
||||
}
|
||||
|
||||
// Token: 0x0600C7A3 RID: 51107 RVA: 0x002D2504 File Offset: 0x002D0704
|
||||
[Token(Token = "0x600C7A3")]
|
||||
[Address(RVA = "0x2E8F1C0", Offset = "0x2E8E1C0", VA = "0x182E8F1C0")]
|
||||
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: 0x0600C7A4 RID: 51108 RVA: 0x002D25A0 File Offset: 0x002D07A0
|
||||
[Token(Token = "0x600C7A4")]
|
||||
[Address(RVA = "0x2E8FE30", Offset = "0x2E8EE30", VA = "0x182E8FE30")]
|
||||
private static DerObjectIdentifier[] ToOidArray(IList oids)
|
||||
{
|
||||
DerObjectIdentifier[] array = new DerObjectIdentifier[0];
|
||||
int num = 0;
|
||||
num += num;
|
||||
num++;
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x04007D01 RID: 32001
|
||||
[Token(Token = "0x4007D01")]
|
||||
public static readonly DerObjectIdentifier SubjectDirectoryAttributes = new DerObjectIdentifier("2.5.29.9");
|
||||
|
||||
// Token: 0x04007D02 RID: 32002
|
||||
[Token(Token = "0x4007D02")]
|
||||
public static readonly DerObjectIdentifier SubjectKeyIdentifier = new DerObjectIdentifier("2.5.29.14");
|
||||
|
||||
// Token: 0x04007D03 RID: 32003
|
||||
[Token(Token = "0x4007D03")]
|
||||
public static readonly DerObjectIdentifier KeyUsage = new DerObjectIdentifier("2.5.29.15");
|
||||
|
||||
// Token: 0x04007D04 RID: 32004
|
||||
[Token(Token = "0x4007D04")]
|
||||
public static readonly DerObjectIdentifier PrivateKeyUsagePeriod = new DerObjectIdentifier("2.5.29.16");
|
||||
|
||||
// Token: 0x04007D05 RID: 32005
|
||||
[Token(Token = "0x4007D05")]
|
||||
public static readonly DerObjectIdentifier SubjectAlternativeName = new DerObjectIdentifier("2.5.29.17");
|
||||
|
||||
// Token: 0x04007D06 RID: 32006
|
||||
[Token(Token = "0x4007D06")]
|
||||
public static readonly DerObjectIdentifier IssuerAlternativeName = new DerObjectIdentifier("2.5.29.18");
|
||||
|
||||
// Token: 0x04007D07 RID: 32007
|
||||
[Token(Token = "0x4007D07")]
|
||||
public static readonly DerObjectIdentifier BasicConstraints = new DerObjectIdentifier("2.5.29.19");
|
||||
|
||||
// Token: 0x04007D08 RID: 32008
|
||||
[Token(Token = "0x4007D08")]
|
||||
public static readonly DerObjectIdentifier CrlNumber = new DerObjectIdentifier("2.5.29.20");
|
||||
|
||||
// Token: 0x04007D09 RID: 32009
|
||||
[Token(Token = "0x4007D09")]
|
||||
public static readonly DerObjectIdentifier ReasonCode = new DerObjectIdentifier("2.5.29.21");
|
||||
|
||||
// Token: 0x04007D0A RID: 32010
|
||||
[Token(Token = "0x4007D0A")]
|
||||
public static readonly DerObjectIdentifier InstructionCode = new DerObjectIdentifier("2.5.29.23");
|
||||
|
||||
// Token: 0x04007D0B RID: 32011
|
||||
[Token(Token = "0x4007D0B")]
|
||||
public static readonly DerObjectIdentifier InvalidityDate = new DerObjectIdentifier("2.5.29.24");
|
||||
|
||||
// Token: 0x04007D0C RID: 32012
|
||||
[Token(Token = "0x4007D0C")]
|
||||
public static readonly DerObjectIdentifier DeltaCrlIndicator = new DerObjectIdentifier("2.5.29.27");
|
||||
|
||||
// Token: 0x04007D0D RID: 32013
|
||||
[Token(Token = "0x4007D0D")]
|
||||
public static readonly DerObjectIdentifier IssuingDistributionPoint = new DerObjectIdentifier("2.5.29.28");
|
||||
|
||||
// Token: 0x04007D0E RID: 32014
|
||||
[Token(Token = "0x4007D0E")]
|
||||
public static readonly DerObjectIdentifier CertificateIssuer = new DerObjectIdentifier("2.5.29.29");
|
||||
|
||||
// Token: 0x04007D0F RID: 32015
|
||||
[Token(Token = "0x4007D0F")]
|
||||
public static readonly DerObjectIdentifier NameConstraints = new DerObjectIdentifier("2.5.29.30");
|
||||
|
||||
// Token: 0x04007D10 RID: 32016
|
||||
[Token(Token = "0x4007D10")]
|
||||
public static readonly DerObjectIdentifier CrlDistributionPoints = new DerObjectIdentifier("2.5.29.31");
|
||||
|
||||
// Token: 0x04007D11 RID: 32017
|
||||
[Token(Token = "0x4007D11")]
|
||||
public static readonly DerObjectIdentifier CertificatePolicies = new DerObjectIdentifier("2.5.29.32");
|
||||
|
||||
// Token: 0x04007D12 RID: 32018
|
||||
[Token(Token = "0x4007D12")]
|
||||
public static readonly DerObjectIdentifier PolicyMappings = new DerObjectIdentifier("2.5.29.33");
|
||||
|
||||
// Token: 0x04007D13 RID: 32019
|
||||
[Token(Token = "0x4007D13")]
|
||||
public static readonly DerObjectIdentifier AuthorityKeyIdentifier = new DerObjectIdentifier("2.5.29.35");
|
||||
|
||||
// Token: 0x04007D14 RID: 32020
|
||||
[Token(Token = "0x4007D14")]
|
||||
public static readonly DerObjectIdentifier PolicyConstraints = new DerObjectIdentifier("2.5.29.36");
|
||||
|
||||
// Token: 0x04007D15 RID: 32021
|
||||
[Token(Token = "0x4007D15")]
|
||||
public static readonly DerObjectIdentifier ExtendedKeyUsage = new DerObjectIdentifier("2.5.29.37");
|
||||
|
||||
// Token: 0x04007D16 RID: 32022
|
||||
[Token(Token = "0x4007D16")]
|
||||
public static readonly DerObjectIdentifier FreshestCrl = new DerObjectIdentifier("2.5.29.46");
|
||||
|
||||
// Token: 0x04007D17 RID: 32023
|
||||
[Token(Token = "0x4007D17")]
|
||||
public static readonly DerObjectIdentifier InhibitAnyPolicy = new DerObjectIdentifier("2.5.29.54");
|
||||
|
||||
// Token: 0x04007D18 RID: 32024
|
||||
[Token(Token = "0x4007D18")]
|
||||
public static readonly DerObjectIdentifier AuthorityInfoAccess = new DerObjectIdentifier("1.3.6.1.5.5.7.1.1");
|
||||
|
||||
// Token: 0x04007D19 RID: 32025
|
||||
[Token(Token = "0x4007D19")]
|
||||
public static readonly DerObjectIdentifier SubjectInfoAccess = new DerObjectIdentifier("1.3.6.1.5.5.7.1.11");
|
||||
|
||||
// Token: 0x04007D1A RID: 32026
|
||||
[Token(Token = "0x4007D1A")]
|
||||
public static readonly DerObjectIdentifier LogoType = new DerObjectIdentifier("1.3.6.1.5.5.7.1.12");
|
||||
|
||||
// Token: 0x04007D1B RID: 32027
|
||||
[Token(Token = "0x4007D1B")]
|
||||
public static readonly DerObjectIdentifier BiometricInfo = new DerObjectIdentifier("1.3.6.1.5.5.7.1.2");
|
||||
|
||||
// Token: 0x04007D1C RID: 32028
|
||||
[Token(Token = "0x4007D1C")]
|
||||
public static readonly DerObjectIdentifier QCStatements = new DerObjectIdentifier("1.3.6.1.5.5.7.1.3");
|
||||
|
||||
// Token: 0x04007D1D RID: 32029
|
||||
[Token(Token = "0x4007D1D")]
|
||||
public static readonly DerObjectIdentifier AuditIdentity = new DerObjectIdentifier("1.3.6.1.5.5.7.1.4");
|
||||
|
||||
// Token: 0x04007D1E RID: 32030
|
||||
[Token(Token = "0x4007D1E")]
|
||||
public static readonly DerObjectIdentifier NoRevAvail = new DerObjectIdentifier("2.5.29.56");
|
||||
|
||||
// Token: 0x04007D1F RID: 32031
|
||||
[Token(Token = "0x4007D1F")]
|
||||
public static readonly DerObjectIdentifier TargetInformation = new DerObjectIdentifier("2.5.29.55");
|
||||
|
||||
// Token: 0x04007D20 RID: 32032
|
||||
[Token(Token = "0x4007D20")]
|
||||
public static readonly DerObjectIdentifier ExpiredCertsOnCrl = new DerObjectIdentifier("2.5.29.60");
|
||||
|
||||
// Token: 0x04007D21 RID: 32033
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007D21")]
|
||||
private readonly IDictionary extensions;
|
||||
|
||||
// Token: 0x04007D22 RID: 32034
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007D22")]
|
||||
private readonly IList ordering;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user