oh dear
This commit is contained in:
+36
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509
|
||||
{
|
||||
// Token: 0x02001E2D RID: 7725
|
||||
[Token(Token = "0x2001E2D")]
|
||||
public class X509DefaultEntryConverter : X509NameEntryConverter
|
||||
{
|
||||
// Token: 0x0600C3BA RID: 50106 RVA: 0x002C9448 File Offset: 0x002C7648
|
||||
[Token(Token = "0x600C3BA")]
|
||||
[Address(RVA = "0x2B46C80", Offset = "0x2B45A80", VA = "0x182B46C80", 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: 0x0600C3BB RID: 50107 RVA: 0x002C94BC File Offset: 0x002C76BC
|
||||
[Token(Token = "0x600C3BB")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public X509DefaultEntryConverter()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user