scripts
This commit is contained in:
+129
@@ -0,0 +1,129 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Misc
|
||||
{
|
||||
// Token: 0x020018D9 RID: 6361
|
||||
[Token(Token = "0x20018D9")]
|
||||
[StructLayout(3)]
|
||||
public class Cast5CbcParameters : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600AAF0 RID: 43760 RVA: 0x0027E930 File Offset: 0x0027CB30
|
||||
[Token(Token = "0x600AAF0")]
|
||||
[Address(RVA = "0x27C9D80", Offset = "0x27C8780", VA = "0x1827C9D80")]
|
||||
public static Cast5CbcParameters GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AAF0)
|
||||
|
||||
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: 0x0600AAF1 RID: 43761 RVA: 0x0027E96C File Offset: 0x0027CB6C
|
||||
[Token(Token = "0x600AAF1")]
|
||||
[Address(RVA = "0x27CA040", Offset = "0x27C8A40", VA = "0x1827CA040")]
|
||||
public Cast5CbcParameters(byte[] iv, int keyLength)
|
||||
{
|
||||
DerOctetString derOctetString = new DerOctetString(iv);
|
||||
this.iv = derOctetString;
|
||||
DerInteger derInteger = new DerInteger(keyLength);
|
||||
this.keyLength = derInteger;
|
||||
}
|
||||
|
||||
// Token: 0x0600AAF2 RID: 43762 RVA: 0x0027E99C File Offset: 0x0027CB9C
|
||||
[Token(Token = "0x600AAF2")]
|
||||
[Address(RVA = "0x27CA0E0", Offset = "0x27C8AE0", VA = "0x1827CA0E0")]
|
||||
private Cast5CbcParameters(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AAF2)
|
||||
|
||||
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: 0x0600AAF3 RID: 43763 RVA: 0x0027EA00 File Offset: 0x0027CC00
|
||||
[Token(Token = "0x600AAF3")]
|
||||
[Address(RVA = "0x27C9D00", Offset = "0x27C8700", VA = "0x1827C9D00")]
|
||||
public byte[] GetIV()
|
||||
{
|
||||
Stream octetStream = this.iv.GetOctetStream();
|
||||
byte[] array;
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x17001B0B RID: 6923
|
||||
// (get) Token: 0x0600AAF4 RID: 43764 RVA: 0x0027EA20 File Offset: 0x0027CC20
|
||||
[Token(Token = "0x17001B0B")]
|
||||
public int KeyLength
|
||||
{
|
||||
[Token(Token = "0x600AAF4")]
|
||||
[Address(RVA = "0x1DE8F40", Offset = "0x1DE7940", VA = "0x181DE8F40")]
|
||||
get
|
||||
{
|
||||
return this.keyLength.Value.IntValue;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AAF5 RID: 43765 RVA: 0x0027EA44 File Offset: 0x0027CC44
|
||||
[Token(Token = "0x600AAF5")]
|
||||
[Address(RVA = "0x27C9F30", Offset = "0x27C8930", VA = "0x1827C9F30", 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: 0x0400701C RID: 28700
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400701C")]
|
||||
private readonly DerInteger keyLength;
|
||||
|
||||
// Token: 0x0400701D RID: 28701
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400701D")]
|
||||
private readonly Asn1OctetString iv;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Misc
|
||||
{
|
||||
// Token: 0x020018DA RID: 6362
|
||||
[Token(Token = "0x20018DA")]
|
||||
[StructLayout(3)]
|
||||
public class IdeaCbcPar : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600AAF6 RID: 43766 RVA: 0x0027EA8C File Offset: 0x0027CC8C
|
||||
[Token(Token = "0x600AAF6")]
|
||||
[Address(RVA = "0x27CE940", Offset = "0x27CD340", VA = "0x1827CE940")]
|
||||
public static IdeaCbcPar GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AAF6)
|
||||
|
||||
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: 0x0600AAF7 RID: 43767 RVA: 0x0027EACC File Offset: 0x0027CCCC
|
||||
[Token(Token = "0x600AAF7")]
|
||||
[Address(RVA = "0x27CECA0", Offset = "0x27CD6A0", VA = "0x1827CECA0")]
|
||||
public IdeaCbcPar(byte[] iv)
|
||||
{
|
||||
DerOctetString derOctetString = new DerOctetString(iv);
|
||||
this.iv = derOctetString;
|
||||
}
|
||||
|
||||
// Token: 0x0600AAF8 RID: 43768 RVA: 0x0027EAF0 File Offset: 0x0027CCF0
|
||||
[Token(Token = "0x600AAF8")]
|
||||
[Address(RVA = "0x27CED10", Offset = "0x27CD710", VA = "0x1827CED10")]
|
||||
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: 0x0600AAF9 RID: 43769 RVA: 0x0027EB30 File Offset: 0x0027CD30
|
||||
[Token(Token = "0x600AAF9")]
|
||||
[Address(RVA = "0x27CE920", Offset = "0x27CD320", VA = "0x1827CE920")]
|
||||
public byte[] GetIV()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AAF9)
|
||||
|
||||
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: 0x0600AAFA RID: 43770 RVA: 0x0027EB50 File Offset: 0x0027CD50
|
||||
[Token(Token = "0x600AAFA")]
|
||||
[Address(RVA = "0x27CEB90", Offset = "0x27CD590", VA = "0x1827CEB90", 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: 0x0400701E RID: 28702
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400701E")]
|
||||
internal Asn1OctetString iv;
|
||||
}
|
||||
}
|
||||
+167
@@ -0,0 +1,167 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Misc
|
||||
{
|
||||
// Token: 0x020018DB RID: 6363
|
||||
[Token(Token = "0x20018DB")]
|
||||
[StructLayout(3)]
|
||||
public abstract class MiscObjectIdentifiers
|
||||
{
|
||||
// Token: 0x0600AAFB RID: 43771 RVA: 0x0027EB98 File Offset: 0x0027CD98
|
||||
[Token(Token = "0x600AAFB")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
protected MiscObjectIdentifiers()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400701F RID: 28703
|
||||
[Token(Token = "0x400701F")]
|
||||
public static readonly DerObjectIdentifier Netscape = new DerObjectIdentifier("2.16.840.1.113730.1");
|
||||
|
||||
// Token: 0x04007020 RID: 28704
|
||||
[Token(Token = "0x4007020")]
|
||||
public static readonly DerObjectIdentifier NetscapeCertType = MiscObjectIdentifiers.Netscape.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007021 RID: 28705
|
||||
[Token(Token = "0x4007021")]
|
||||
public static readonly DerObjectIdentifier NetscapeBaseUrl = MiscObjectIdentifiers.Netscape.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007022 RID: 28706
|
||||
[Token(Token = "0x4007022")]
|
||||
public static readonly DerObjectIdentifier NetscapeRevocationUrl = MiscObjectIdentifiers.Netscape.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007023 RID: 28707
|
||||
[Token(Token = "0x4007023")]
|
||||
public static readonly DerObjectIdentifier NetscapeCARevocationUrl = MiscObjectIdentifiers.Netscape.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007024 RID: 28708
|
||||
[Token(Token = "0x4007024")]
|
||||
public static readonly DerObjectIdentifier NetscapeRenewalUrl = MiscObjectIdentifiers.Netscape.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007025 RID: 28709
|
||||
[Token(Token = "0x4007025")]
|
||||
public static readonly DerObjectIdentifier NetscapeCAPolicyUrl = MiscObjectIdentifiers.Netscape.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007026 RID: 28710
|
||||
[Token(Token = "0x4007026")]
|
||||
public static readonly DerObjectIdentifier NetscapeSslServerName = MiscObjectIdentifiers.Netscape.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007027 RID: 28711
|
||||
[Token(Token = "0x4007027")]
|
||||
public static readonly DerObjectIdentifier NetscapeCertComment = MiscObjectIdentifiers.Netscape.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007028 RID: 28712
|
||||
[Token(Token = "0x4007028")]
|
||||
public static readonly DerObjectIdentifier Verisign = new DerObjectIdentifier("2.16.840.1.113733.1");
|
||||
|
||||
// Token: 0x04007029 RID: 28713
|
||||
[Token(Token = "0x4007029")]
|
||||
public static readonly DerObjectIdentifier VerisignCzagExtension = MiscObjectIdentifiers.Verisign.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x0400702A RID: 28714
|
||||
[Token(Token = "0x400702A")]
|
||||
public static readonly DerObjectIdentifier VerisignPrivate_6_9 = MiscObjectIdentifiers.Verisign.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x0400702B RID: 28715
|
||||
[Token(Token = "0x400702B")]
|
||||
public static readonly DerObjectIdentifier VerisignOnSiteJurisdictionHash = MiscObjectIdentifiers.Verisign.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x0400702C RID: 28716
|
||||
[Token(Token = "0x400702C")]
|
||||
public static readonly DerObjectIdentifier VerisignBitString_6_13 = MiscObjectIdentifiers.Verisign.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x0400702D RID: 28717
|
||||
[Token(Token = "0x400702D")]
|
||||
public static readonly DerObjectIdentifier VerisignDnbDunsNumber = MiscObjectIdentifiers.Verisign.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x0400702E RID: 28718
|
||||
[Token(Token = "0x400702E")]
|
||||
public static readonly DerObjectIdentifier VerisignIssStrongCrypto = MiscObjectIdentifiers.Verisign.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x0400702F RID: 28719
|
||||
[Token(Token = "0x400702F")]
|
||||
public static readonly string Novell = "2.16.840.1.113719";
|
||||
|
||||
// Token: 0x04007030 RID: 28720
|
||||
[Token(Token = "0x4007030")]
|
||||
public static readonly DerObjectIdentifier NovellSecurityAttribs = new DerObjectIdentifier(MiscObjectIdentifiers.Novell + ".1.9.4.1");
|
||||
|
||||
// Token: 0x04007031 RID: 28721
|
||||
[Token(Token = "0x4007031")]
|
||||
public static readonly string Entrust = "1.2.840.113533.7";
|
||||
|
||||
// Token: 0x04007032 RID: 28722
|
||||
[Token(Token = "0x4007032")]
|
||||
public static readonly DerObjectIdentifier EntrustVersionExtension = new DerObjectIdentifier(MiscObjectIdentifiers.Entrust + ".65.0");
|
||||
|
||||
// Token: 0x04007033 RID: 28723
|
||||
[Token(Token = "0x4007033")]
|
||||
public static readonly DerObjectIdentifier as_sys_sec_alg_ideaCBC = new DerObjectIdentifier("1.3.6.1.4.1.188.7.1.1.2");
|
||||
|
||||
// Token: 0x04007034 RID: 28724
|
||||
[Token(Token = "0x4007034")]
|
||||
public static readonly DerObjectIdentifier cryptlib = new DerObjectIdentifier("1.3.6.1.4.1.3029");
|
||||
|
||||
// Token: 0x04007035 RID: 28725
|
||||
[Token(Token = "0x4007035")]
|
||||
public static readonly DerObjectIdentifier cryptlib_algorithm = MiscObjectIdentifiers.cryptlib.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007036 RID: 28726
|
||||
[Token(Token = "0x4007036")]
|
||||
public static readonly DerObjectIdentifier cryptlib_algorithm_blowfish_ECB = MiscObjectIdentifiers.cryptlib_algorithm.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007037 RID: 28727
|
||||
[Token(Token = "0x4007037")]
|
||||
public static readonly DerObjectIdentifier cryptlib_algorithm_blowfish_CBC = MiscObjectIdentifiers.cryptlib_algorithm.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007038 RID: 28728
|
||||
[Token(Token = "0x4007038")]
|
||||
public static readonly DerObjectIdentifier cryptlib_algorithm_blowfish_CFB = MiscObjectIdentifiers.cryptlib_algorithm.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007039 RID: 28729
|
||||
[Token(Token = "0x4007039")]
|
||||
public static readonly DerObjectIdentifier cryptlib_algorithm_blowfish_OFB = MiscObjectIdentifiers.cryptlib_algorithm.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x0400703A RID: 28730
|
||||
[Token(Token = "0x400703A")]
|
||||
public static readonly DerObjectIdentifier blake2 = new DerObjectIdentifier("1.3.6.1.4.1.1722.12.2");
|
||||
|
||||
// Token: 0x0400703B RID: 28731
|
||||
[Token(Token = "0x400703B")]
|
||||
public static readonly DerObjectIdentifier id_blake2b160 = MiscObjectIdentifiers.blake2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x0400703C RID: 28732
|
||||
[Token(Token = "0x400703C")]
|
||||
public static readonly DerObjectIdentifier id_blake2b256 = MiscObjectIdentifiers.blake2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x0400703D RID: 28733
|
||||
[Token(Token = "0x400703D")]
|
||||
public static readonly DerObjectIdentifier id_blake2b384 = MiscObjectIdentifiers.blake2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x0400703E RID: 28734
|
||||
[Token(Token = "0x400703E")]
|
||||
public static readonly DerObjectIdentifier id_blake2b512 = MiscObjectIdentifiers.blake2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x0400703F RID: 28735
|
||||
[Token(Token = "0x400703F")]
|
||||
public static readonly DerObjectIdentifier id_blake2s128 = MiscObjectIdentifiers.blake2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007040 RID: 28736
|
||||
[Token(Token = "0x4007040")]
|
||||
public static readonly DerObjectIdentifier id_blake2s160 = MiscObjectIdentifiers.blake2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007041 RID: 28737
|
||||
[Token(Token = "0x4007041")]
|
||||
public static readonly DerObjectIdentifier id_blake2s224 = MiscObjectIdentifiers.blake2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007042 RID: 28738
|
||||
[Token(Token = "0x4007042")]
|
||||
public static readonly DerObjectIdentifier id_blake2s256 = MiscObjectIdentifiers.blake2.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04007043 RID: 28739
|
||||
[Token(Token = "0x4007043")]
|
||||
public static readonly DerObjectIdentifier id_scrypt = new DerObjectIdentifier("1.3.6.1.4.1.11591.4.11");
|
||||
}
|
||||
}
|
||||
+71
@@ -0,0 +1,71 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Misc
|
||||
{
|
||||
// Token: 0x020018DC RID: 6364
|
||||
[Token(Token = "0x20018DC")]
|
||||
[StructLayout(3)]
|
||||
public class NetscapeCertType : DerBitString
|
||||
{
|
||||
// Token: 0x0600AAFD RID: 43773 RVA: 0x0027EDF4 File Offset: 0x0027CFF4
|
||||
[Token(Token = "0x600AAFD")]
|
||||
[Address(RVA = "0x27D2230", Offset = "0x27D0C30", VA = "0x1827D2230")]
|
||||
public NetscapeCertType(int usage)
|
||||
: base(usage)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600AAFE RID: 43774 RVA: 0x0027EE08 File Offset: 0x0027D008
|
||||
[Token(Token = "0x600AAFE")]
|
||||
[Address(RVA = "0x27D2290", Offset = "0x27D0C90", VA = "0x1827D2290")]
|
||||
public NetscapeCertType(DerBitString usage)
|
||||
{
|
||||
byte[] octets = usage.GetOctets();
|
||||
byte[] bytes = usage.GetBytes();
|
||||
}
|
||||
|
||||
// Token: 0x0600AAFF RID: 43775 RVA: 0x0027EE2C File Offset: 0x0027D02C
|
||||
[Token(Token = "0x600AAFF")]
|
||||
[Address(RVA = "0x27D2190", Offset = "0x27D0B90", VA = "0x1827D2190", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
byte b = this.GetOctets()[0];
|
||||
string text;
|
||||
return text;
|
||||
}
|
||||
|
||||
// Token: 0x04007044 RID: 28740
|
||||
[Token(Token = "0x4007044")]
|
||||
public const int SslClient = 128;
|
||||
|
||||
// Token: 0x04007045 RID: 28741
|
||||
[Token(Token = "0x4007045")]
|
||||
public const int SslServer = 64;
|
||||
|
||||
// Token: 0x04007046 RID: 28742
|
||||
[Token(Token = "0x4007046")]
|
||||
public const int Smime = 32;
|
||||
|
||||
// Token: 0x04007047 RID: 28743
|
||||
[Token(Token = "0x4007047")]
|
||||
public const int ObjectSigning = 16;
|
||||
|
||||
// Token: 0x04007048 RID: 28744
|
||||
[Token(Token = "0x4007048")]
|
||||
public const int Reserved = 8;
|
||||
|
||||
// Token: 0x04007049 RID: 28745
|
||||
[Token(Token = "0x4007049")]
|
||||
public const int SslCA = 4;
|
||||
|
||||
// Token: 0x0400704A RID: 28746
|
||||
[Token(Token = "0x400704A")]
|
||||
public const int SmimeCA = 2;
|
||||
|
||||
// Token: 0x0400704B RID: 28747
|
||||
[Token(Token = "0x400704B")]
|
||||
public const int ObjectSigningCA = 1;
|
||||
}
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Misc
|
||||
{
|
||||
// Token: 0x020018DD RID: 6365
|
||||
[Token(Token = "0x20018DD")]
|
||||
[StructLayout(3)]
|
||||
public class NetscapeRevocationUrl : DerIA5String
|
||||
{
|
||||
// Token: 0x0600AB00 RID: 43776 RVA: 0x0027EE50 File Offset: 0x0027D050
|
||||
[Token(Token = "0x600AB00")]
|
||||
[Address(RVA = "0x27D2390", Offset = "0x27D0D90", VA = "0x1827D2390")]
|
||||
public NetscapeRevocationUrl(DerIA5String str)
|
||||
{
|
||||
string @string = str.GetString();
|
||||
base..ctor(@string);
|
||||
}
|
||||
|
||||
// Token: 0x0600AB01 RID: 43777 RVA: 0x0027EE74 File Offset: 0x0027D074
|
||||
[Token(Token = "0x600AB01")]
|
||||
[Address(RVA = "0x27D2340", Offset = "0x27D0D40", VA = "0x1827D2340", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
string @string = this.GetString();
|
||||
return "NetscapeRevocationUrl: " + @string;
|
||||
}
|
||||
}
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Misc
|
||||
{
|
||||
// Token: 0x020018DE RID: 6366
|
||||
[Token(Token = "0x20018DE")]
|
||||
[StructLayout(3)]
|
||||
public class VerisignCzagExtension : DerIA5String
|
||||
{
|
||||
// Token: 0x0600AB02 RID: 43778 RVA: 0x0027EE94 File Offset: 0x0027D094
|
||||
[Token(Token = "0x600AB02")]
|
||||
[Address(RVA = "0x27D2390", Offset = "0x27D0D90", VA = "0x1827D2390")]
|
||||
public VerisignCzagExtension(DerIA5String str)
|
||||
{
|
||||
string @string = str.GetString();
|
||||
base..ctor(@string);
|
||||
}
|
||||
|
||||
// Token: 0x0600AB03 RID: 43779 RVA: 0x0027EEB8 File Offset: 0x0027D0B8
|
||||
[Token(Token = "0x600AB03")]
|
||||
[Address(RVA = "0x27DFE80", Offset = "0x27DE880", VA = "0x1827DFE80", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
string @string = this.GetString();
|
||||
return "VerisignCzagExtension: " + @string;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user