scripts
This commit is contained in:
+38
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509
|
||||
{
|
||||
// Token: 0x02001850 RID: 6224
|
||||
[Token(Token = "0x2001850")]
|
||||
[StructLayout(3)]
|
||||
public class X509DefaultEntryConverter : X509NameEntryConverter
|
||||
{
|
||||
// Token: 0x0600A7E0 RID: 42976 RVA: 0x00270EF4 File Offset: 0x0026F0F4
|
||||
[Token(Token = "0x600A7E0")]
|
||||
[Address(RVA = "0x277AE80", Offset = "0x2779880", VA = "0x18277AE80", Slot = "4")]
|
||||
public override Asn1Object GetConvertedValue(DerObjectIdentifier oid, string value)
|
||||
{
|
||||
if (value.m_stringLength != 0)
|
||||
{
|
||||
int num = 0;
|
||||
char c = value[num];
|
||||
return Asn1Object.FromByteArray(Hex.Decode(value.Substring(1)));
|
||||
}
|
||||
DerUtf8String derUtf8String = new DerUtf8String(value);
|
||||
DerPrintableString derPrintableString = new DerPrintableString(value);
|
||||
DerGeneralizedTime derGeneralizedTime = new DerGeneralizedTime(value);
|
||||
DerIA5String derIA5String = new DerIA5String(value);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600A7E1 RID: 42977 RVA: 0x00270F68 File Offset: 0x0026F168
|
||||
[Token(Token = "0x600A7E1")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
public X509DefaultEntryConverter()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user