32 lines
928 B
C#
32 lines
928 B
C#
using System;
|
|
using System.Security.Cryptography.X509Certificates;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Mono.Security.Interface
|
|
{
|
|
// Token: 0x0200001F RID: 31
|
|
[Token(Token = "0x200001F")]
|
|
public interface ICertificateValidator
|
|
{
|
|
// Token: 0x1700003A RID: 58
|
|
// (get) Token: 0x060000CA RID: 202
|
|
[Token(Token = "0x1700003A")]
|
|
MonoTlsSettings Settings
|
|
{
|
|
[Token(Token = "0x60000CA")]
|
|
[Address(Slot = "0")]
|
|
get;
|
|
}
|
|
|
|
// Token: 0x060000CB RID: 203
|
|
[Token(Token = "0x60000CB")]
|
|
[Address(Slot = "1")]
|
|
bool SelectClientCertificate(string targetHost, X509CertificateCollection localCertificates, X509Certificate remoteCertificate, string[] acceptableIssuers, out X509Certificate clientCertificate);
|
|
|
|
// Token: 0x060000CC RID: 204
|
|
[Token(Token = "0x60000CC")]
|
|
[Address(Slot = "2")]
|
|
ValidationResult ValidateCertificate(string targetHost, bool serverMode, X509CertificateCollection certificates);
|
|
}
|
|
}
|