oh dear
This commit is contained in:
+127
@@ -0,0 +1,127 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Misc
|
||||
{
|
||||
// Token: 0x02001EB6 RID: 7862
|
||||
[Token(Token = "0x2001EB6")]
|
||||
public class Cast5CbcParameters : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C6CA RID: 50890 RVA: 0x002D6E30 File Offset: 0x002D5030
|
||||
[Token(Token = "0x600C6CA")]
|
||||
[Address(RVA = "0x28341F0", Offset = "0x2832FF0", VA = "0x1828341F0")]
|
||||
public static Cast5CbcParameters GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C6CA)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Misc.Cast5CbcParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Misc.Cast5CbcParameters::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_22:
|
||||
stloc:ArgumentException(var_6_2C, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("unknown object in Cast5CbcParameters factory")))
|
||||
}
|
||||
|
||||
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: 0x0600C6CB RID: 50891 RVA: 0x002D6E6C File Offset: 0x002D506C
|
||||
[Token(Token = "0x600C6CB")]
|
||||
[Address(RVA = "0x28344B0", Offset = "0x28332B0", VA = "0x1828344B0")]
|
||||
public Cast5CbcParameters(byte[] iv, int keyLength)
|
||||
{
|
||||
DerOctetString derOctetString = new DerOctetString(iv);
|
||||
this.iv = derOctetString;
|
||||
DerInteger derInteger = new DerInteger(keyLength);
|
||||
this.keyLength = derInteger;
|
||||
}
|
||||
|
||||
// Token: 0x0600C6CC RID: 50892 RVA: 0x002D6E9C File Offset: 0x002D509C
|
||||
[Token(Token = "0x600C6CC")]
|
||||
[Address(RVA = "0x2834550", Offset = "0x2833350", VA = "0x182834550")]
|
||||
private Cast5CbcParameters(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C6CC)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Misc.Cast5CbcParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_44:
|
||||
stloc:ArgumentException(var_5_53, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
|
||||
}
|
||||
|
||||
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: 0x0600C6CD RID: 50893 RVA: 0x002D6F00 File Offset: 0x002D5100
|
||||
[Token(Token = "0x600C6CD")]
|
||||
[Address(RVA = "0x2834170", Offset = "0x2832F70", VA = "0x182834170")]
|
||||
public byte[] GetIV()
|
||||
{
|
||||
Stream octetStream = this.iv.GetOctetStream();
|
||||
byte[] array;
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x17001F0C RID: 7948
|
||||
// (get) Token: 0x0600C6CE RID: 50894 RVA: 0x002D6F20 File Offset: 0x002D5120
|
||||
[Token(Token = "0x17001F0C")]
|
||||
public int KeyLength
|
||||
{
|
||||
[Token(Token = "0x600C6CE")]
|
||||
[Address(RVA = "0x28346E0", Offset = "0x28334E0", VA = "0x1828346E0")]
|
||||
get
|
||||
{
|
||||
return this.keyLength.Value.IntValue;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C6CF RID: 50895 RVA: 0x002D6F44 File Offset: 0x002D5144
|
||||
[Token(Token = "0x600C6CF")]
|
||||
[Address(RVA = "0x28343A0", Offset = "0x28331A0", VA = "0x1828343A0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
Asn1OctetString asn1OctetString = this.iv;
|
||||
if (asn1OctetString != 0)
|
||||
{
|
||||
}
|
||||
array[0] = asn1OctetString;
|
||||
DerInteger derInteger = this.keyLength;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derInteger;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007E5F RID: 32351
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007E5F")]
|
||||
private readonly DerInteger keyLength;
|
||||
|
||||
// Token: 0x04007E60 RID: 32352
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007E60")]
|
||||
private readonly Asn1OctetString iv;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Misc
|
||||
{
|
||||
// Token: 0x02001EB7 RID: 7863
|
||||
[Token(Token = "0x2001EB7")]
|
||||
public class IdeaCbcPar : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C6D0 RID: 50896 RVA: 0x002D6F8C File Offset: 0x002D518C
|
||||
[Token(Token = "0x600C6D0")]
|
||||
[Address(RVA = "0x283ABD0", Offset = "0x28399D0", VA = "0x18283ABD0")]
|
||||
public static IdeaCbcPar GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C6D0)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Misc.IdeaCbcPar BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Misc.IdeaCbcPar::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_25:
|
||||
stloc:ArgumentException(var_7_2F, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("unknown object in IDEACBCPar factory")))
|
||||
}
|
||||
|
||||
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: 0x0600C6D1 RID: 50897 RVA: 0x002D6FCC File Offset: 0x002D51CC
|
||||
[Token(Token = "0x600C6D1")]
|
||||
[Address(RVA = "0x283AF30", Offset = "0x2839D30", VA = "0x18283AF30")]
|
||||
public IdeaCbcPar(byte[] iv)
|
||||
{
|
||||
DerOctetString derOctetString = new DerOctetString(iv);
|
||||
this.iv = derOctetString;
|
||||
}
|
||||
|
||||
// Token: 0x0600C6D2 RID: 50898 RVA: 0x002D6FF0 File Offset: 0x002D51F0
|
||||
[Token(Token = "0x600C6D2")]
|
||||
[Address(RVA = "0x283AFA0", Offset = "0x2839DA0", VA = "0x18283AFA0")]
|
||||
private IdeaCbcPar(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser;
|
||||
for (;;)
|
||||
{
|
||||
base..ctor();
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable != (ulong)1L)
|
||||
{
|
||||
return;
|
||||
}
|
||||
parser = seq.Parser;
|
||||
if (parser == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (parser != 0)
|
||||
{
|
||||
goto Block_2;
|
||||
}
|
||||
}
|
||||
this.iv = parser;
|
||||
return;
|
||||
Block_2:
|
||||
this.iv = parser;
|
||||
}
|
||||
|
||||
// Token: 0x0600C6D3 RID: 50899 RVA: 0x002D7030 File Offset: 0x002D5230
|
||||
[Token(Token = "0x600C6D3")]
|
||||
[Address(RVA = "0x2720AD0", Offset = "0x271F8D0", VA = "0x182720AD0")]
|
||||
public byte[] GetIV()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C6D3)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte[] BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Misc.IdeaCbcPar::GetIV()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_0D:
|
||||
stloc:Stream(var_2_13, call:Stream(Asn1OctetStringParser::GetOctetStream, ldloc:Asn1OctetString[exp:Asn1OctetStringParser](var_0_06)))
|
||||
}
|
||||
|
||||
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: 0x0600C6D4 RID: 50900 RVA: 0x002D7050 File Offset: 0x002D5250
|
||||
[Token(Token = "0x600C6D4")]
|
||||
[Address(RVA = "0x283AE20", Offset = "0x2839C20", VA = "0x18283AE20", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
if (this.iv != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
Asn1OctetString asn1OctetString = this.iv;
|
||||
if (asn1OctetString != 0)
|
||||
{
|
||||
}
|
||||
array[0] = asn1OctetString;
|
||||
asn1EncodableVector.Add(array);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007E61 RID: 32353
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007E61")]
|
||||
internal Asn1OctetString iv;
|
||||
}
|
||||
}
|
||||
+165
@@ -0,0 +1,165 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Misc
|
||||
{
|
||||
// Token: 0x02001EB8 RID: 7864
|
||||
[Token(Token = "0x2001EB8")]
|
||||
public abstract class MiscObjectIdentifiers
|
||||
{
|
||||
// Token: 0x0600C6D5 RID: 50901 RVA: 0x002D7098 File Offset: 0x002D5298
|
||||
[Token(Token = "0x600C6D5")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected MiscObjectIdentifiers()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04007E62 RID: 32354
|
||||
[Token(Token = "0x4007E62")]
|
||||
public static readonly DerObjectIdentifier Netscape = new DerObjectIdentifier("2.16.840.1.113730.1");
|
||||
|
||||
// Token: 0x04007E63 RID: 32355
|
||||
[Token(Token = "0x4007E63")]
|
||||
public static readonly DerObjectIdentifier NetscapeCertType = MiscObjectIdentifiers.Netscape.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E64 RID: 32356
|
||||
[Token(Token = "0x4007E64")]
|
||||
public static readonly DerObjectIdentifier NetscapeBaseUrl = MiscObjectIdentifiers.Netscape.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E65 RID: 32357
|
||||
[Token(Token = "0x4007E65")]
|
||||
public static readonly DerObjectIdentifier NetscapeRevocationUrl = MiscObjectIdentifiers.Netscape.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E66 RID: 32358
|
||||
[Token(Token = "0x4007E66")]
|
||||
public static readonly DerObjectIdentifier NetscapeCARevocationUrl = MiscObjectIdentifiers.Netscape.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E67 RID: 32359
|
||||
[Token(Token = "0x4007E67")]
|
||||
public static readonly DerObjectIdentifier NetscapeRenewalUrl = MiscObjectIdentifiers.Netscape.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E68 RID: 32360
|
||||
[Token(Token = "0x4007E68")]
|
||||
public static readonly DerObjectIdentifier NetscapeCAPolicyUrl = MiscObjectIdentifiers.Netscape.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E69 RID: 32361
|
||||
[Token(Token = "0x4007E69")]
|
||||
public static readonly DerObjectIdentifier NetscapeSslServerName = MiscObjectIdentifiers.Netscape.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E6A RID: 32362
|
||||
[Token(Token = "0x4007E6A")]
|
||||
public static readonly DerObjectIdentifier NetscapeCertComment = MiscObjectIdentifiers.Netscape.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E6B RID: 32363
|
||||
[Token(Token = "0x4007E6B")]
|
||||
public static readonly DerObjectIdentifier Verisign = new DerObjectIdentifier("2.16.840.1.113733.1");
|
||||
|
||||
// Token: 0x04007E6C RID: 32364
|
||||
[Token(Token = "0x4007E6C")]
|
||||
public static readonly DerObjectIdentifier VerisignCzagExtension = MiscObjectIdentifiers.Verisign.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E6D RID: 32365
|
||||
[Token(Token = "0x4007E6D")]
|
||||
public static readonly DerObjectIdentifier VerisignPrivate_6_9 = MiscObjectIdentifiers.Verisign.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E6E RID: 32366
|
||||
[Token(Token = "0x4007E6E")]
|
||||
public static readonly DerObjectIdentifier VerisignOnSiteJurisdictionHash = MiscObjectIdentifiers.Verisign.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E6F RID: 32367
|
||||
[Token(Token = "0x4007E6F")]
|
||||
public static readonly DerObjectIdentifier VerisignBitString_6_13 = MiscObjectIdentifiers.Verisign.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E70 RID: 32368
|
||||
[Token(Token = "0x4007E70")]
|
||||
public static readonly DerObjectIdentifier VerisignDnbDunsNumber = MiscObjectIdentifiers.Verisign.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E71 RID: 32369
|
||||
[Token(Token = "0x4007E71")]
|
||||
public static readonly DerObjectIdentifier VerisignIssStrongCrypto = MiscObjectIdentifiers.Verisign.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E72 RID: 32370
|
||||
[Token(Token = "0x4007E72")]
|
||||
public static readonly string Novell = "2.16.840.1.113719";
|
||||
|
||||
// Token: 0x04007E73 RID: 32371
|
||||
[Token(Token = "0x4007E73")]
|
||||
public static readonly DerObjectIdentifier NovellSecurityAttribs = new DerObjectIdentifier(MiscObjectIdentifiers.Novell + ".1.9.4.1");
|
||||
|
||||
// Token: 0x04007E74 RID: 32372
|
||||
[Token(Token = "0x4007E74")]
|
||||
public static readonly string Entrust = "1.2.840.113533.7";
|
||||
|
||||
// Token: 0x04007E75 RID: 32373
|
||||
[Token(Token = "0x4007E75")]
|
||||
public static readonly DerObjectIdentifier EntrustVersionExtension = new DerObjectIdentifier(MiscObjectIdentifiers.Entrust + ".65.0");
|
||||
|
||||
// Token: 0x04007E76 RID: 32374
|
||||
[Token(Token = "0x4007E76")]
|
||||
public static readonly DerObjectIdentifier as_sys_sec_alg_ideaCBC = new DerObjectIdentifier("1.3.6.1.4.1.188.7.1.1.2");
|
||||
|
||||
// Token: 0x04007E77 RID: 32375
|
||||
[Token(Token = "0x4007E77")]
|
||||
public static readonly DerObjectIdentifier cryptlib = new DerObjectIdentifier("1.3.6.1.4.1.3029");
|
||||
|
||||
// Token: 0x04007E78 RID: 32376
|
||||
[Token(Token = "0x4007E78")]
|
||||
public static readonly DerObjectIdentifier cryptlib_algorithm = MiscObjectIdentifiers.cryptlib.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E79 RID: 32377
|
||||
[Token(Token = "0x4007E79")]
|
||||
public static readonly DerObjectIdentifier cryptlib_algorithm_blowfish_ECB = MiscObjectIdentifiers.cryptlib_algorithm.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E7A RID: 32378
|
||||
[Token(Token = "0x4007E7A")]
|
||||
public static readonly DerObjectIdentifier cryptlib_algorithm_blowfish_CBC = MiscObjectIdentifiers.cryptlib_algorithm.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E7B RID: 32379
|
||||
[Token(Token = "0x4007E7B")]
|
||||
public static readonly DerObjectIdentifier cryptlib_algorithm_blowfish_CFB = MiscObjectIdentifiers.cryptlib_algorithm.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E7C RID: 32380
|
||||
[Token(Token = "0x4007E7C")]
|
||||
public static readonly DerObjectIdentifier cryptlib_algorithm_blowfish_OFB = MiscObjectIdentifiers.cryptlib_algorithm.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E7D RID: 32381
|
||||
[Token(Token = "0x4007E7D")]
|
||||
public static readonly DerObjectIdentifier blake2 = new DerObjectIdentifier("1.3.6.1.4.1.1722.12.2");
|
||||
|
||||
// Token: 0x04007E7E RID: 32382
|
||||
[Token(Token = "0x4007E7E")]
|
||||
public static readonly DerObjectIdentifier id_blake2b160 = MiscObjectIdentifiers.blake2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E7F RID: 32383
|
||||
[Token(Token = "0x4007E7F")]
|
||||
public static readonly DerObjectIdentifier id_blake2b256 = MiscObjectIdentifiers.blake2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E80 RID: 32384
|
||||
[Token(Token = "0x4007E80")]
|
||||
public static readonly DerObjectIdentifier id_blake2b384 = MiscObjectIdentifiers.blake2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E81 RID: 32385
|
||||
[Token(Token = "0x4007E81")]
|
||||
public static readonly DerObjectIdentifier id_blake2b512 = MiscObjectIdentifiers.blake2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E82 RID: 32386
|
||||
[Token(Token = "0x4007E82")]
|
||||
public static readonly DerObjectIdentifier id_blake2s128 = MiscObjectIdentifiers.blake2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E83 RID: 32387
|
||||
[Token(Token = "0x4007E83")]
|
||||
public static readonly DerObjectIdentifier id_blake2s160 = MiscObjectIdentifiers.blake2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E84 RID: 32388
|
||||
[Token(Token = "0x4007E84")]
|
||||
public static readonly DerObjectIdentifier id_blake2s224 = MiscObjectIdentifiers.blake2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E85 RID: 32389
|
||||
[Token(Token = "0x4007E85")]
|
||||
public static readonly DerObjectIdentifier id_blake2s256 = MiscObjectIdentifiers.blake2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007E86 RID: 32390
|
||||
[Token(Token = "0x4007E86")]
|
||||
public static readonly DerObjectIdentifier id_scrypt = new DerObjectIdentifier("1.3.6.1.4.1.11591.4.11");
|
||||
}
|
||||
}
|
||||
+69
@@ -0,0 +1,69 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Misc
|
||||
{
|
||||
// Token: 0x02001EB9 RID: 7865
|
||||
[Token(Token = "0x2001EB9")]
|
||||
public class NetscapeCertType : DerBitString
|
||||
{
|
||||
// Token: 0x0600C6D7 RID: 50903 RVA: 0x002D72F4 File Offset: 0x002D54F4
|
||||
[Token(Token = "0x600C6D7")]
|
||||
[Address(RVA = "0x283ED30", Offset = "0x283DB30", VA = "0x18283ED30")]
|
||||
public NetscapeCertType(int usage)
|
||||
: base(usage)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C6D8 RID: 50904 RVA: 0x002D7308 File Offset: 0x002D5508
|
||||
[Token(Token = "0x600C6D8")]
|
||||
[Address(RVA = "0x283ED90", Offset = "0x283DB90", VA = "0x18283ED90")]
|
||||
public NetscapeCertType(DerBitString usage)
|
||||
{
|
||||
byte[] octets = usage.GetOctets();
|
||||
byte[] bytes = usage.GetBytes();
|
||||
}
|
||||
|
||||
// Token: 0x0600C6D9 RID: 50905 RVA: 0x002D732C File Offset: 0x002D552C
|
||||
[Token(Token = "0x600C6D9")]
|
||||
[Address(RVA = "0x283EC90", Offset = "0x283DA90", VA = "0x18283EC90", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
byte b = this.GetOctets()[0];
|
||||
string text;
|
||||
return "NetscapeCertType: 0x" + text;
|
||||
}
|
||||
|
||||
// Token: 0x04007E87 RID: 32391
|
||||
[Token(Token = "0x4007E87")]
|
||||
public const int SslClient = 128;
|
||||
|
||||
// Token: 0x04007E88 RID: 32392
|
||||
[Token(Token = "0x4007E88")]
|
||||
public const int SslServer = 64;
|
||||
|
||||
// Token: 0x04007E89 RID: 32393
|
||||
[Token(Token = "0x4007E89")]
|
||||
public const int Smime = 32;
|
||||
|
||||
// Token: 0x04007E8A RID: 32394
|
||||
[Token(Token = "0x4007E8A")]
|
||||
public const int ObjectSigning = 16;
|
||||
|
||||
// Token: 0x04007E8B RID: 32395
|
||||
[Token(Token = "0x4007E8B")]
|
||||
public const int Reserved = 8;
|
||||
|
||||
// Token: 0x04007E8C RID: 32396
|
||||
[Token(Token = "0x4007E8C")]
|
||||
public const int SslCA = 4;
|
||||
|
||||
// Token: 0x04007E8D RID: 32397
|
||||
[Token(Token = "0x4007E8D")]
|
||||
public const int SmimeCA = 2;
|
||||
|
||||
// Token: 0x04007E8E RID: 32398
|
||||
[Token(Token = "0x4007E8E")]
|
||||
public const int ObjectSigningCA = 1;
|
||||
}
|
||||
}
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Misc
|
||||
{
|
||||
// Token: 0x02001EBA RID: 7866
|
||||
[Token(Token = "0x2001EBA")]
|
||||
public class NetscapeRevocationUrl : DerIA5String
|
||||
{
|
||||
// Token: 0x0600C6DA RID: 50906 RVA: 0x002D7358 File Offset: 0x002D5558
|
||||
[Token(Token = "0x600C6DA")]
|
||||
[Address(RVA = "0x283EE90", Offset = "0x283DC90", VA = "0x18283EE90")]
|
||||
public NetscapeRevocationUrl(DerIA5String str)
|
||||
{
|
||||
string @string = str.GetString();
|
||||
base..ctor(@string);
|
||||
}
|
||||
|
||||
// Token: 0x0600C6DB RID: 50907 RVA: 0x002D737C File Offset: 0x002D557C
|
||||
[Token(Token = "0x600C6DB")]
|
||||
[Address(RVA = "0x283EE40", Offset = "0x283DC40", VA = "0x18283EE40", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
string @string = this.GetString();
|
||||
return "NetscapeRevocationUrl: " + @string;
|
||||
}
|
||||
}
|
||||
}
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Misc
|
||||
{
|
||||
// Token: 0x02001EBB RID: 7867
|
||||
[Token(Token = "0x2001EBB")]
|
||||
public class VerisignCzagExtension : DerIA5String
|
||||
{
|
||||
// Token: 0x0600C6DC RID: 50908 RVA: 0x002D739C File Offset: 0x002D559C
|
||||
[Token(Token = "0x600C6DC")]
|
||||
[Address(RVA = "0x283EE90", Offset = "0x283DC90", VA = "0x18283EE90")]
|
||||
public VerisignCzagExtension(DerIA5String str)
|
||||
{
|
||||
string @string = str.GetString();
|
||||
base..ctor(@string);
|
||||
}
|
||||
|
||||
// Token: 0x0600C6DD RID: 50909 RVA: 0x002D73C0 File Offset: 0x002D55C0
|
||||
[Token(Token = "0x600C6DD")]
|
||||
[Address(RVA = "0x284C3C0", Offset = "0x284B1C0", VA = "0x18284C3C0", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
string @string = this.GetString();
|
||||
return "VerisignCzagExtension: " + @string;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user