This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
@@ -0,0 +1,43 @@
using System;
namespace System.Security.Policy
{
// Token: 0x02000595 RID: 1429
internal class MonoTrustManager : IApplicationTrustManager, ISecurityEncodable
{
// Token: 0x0600342E RID: 13358 RVA: 0x000B347C File Offset: 0x000B167C
public ApplicationTrust DetermineApplicationTrust(ActivationContext activationContext, TrustManagerContext context)
{
if (activationContext == null)
{
throw new ArgumentNullException("activationContext");
}
return null;
}
// Token: 0x0600342F RID: 13359 RVA: 0x000B3490 File Offset: 0x000B1690
public void FromXml(SecurityElement e)
{
if (e == null)
{
throw new ArgumentNullException("e");
}
if (e.Tag != "IApplicationTrustManager")
{
throw new ArgumentException("e", Locale.GetText("Invalid XML tag."));
}
}
// Token: 0x06003430 RID: 13360 RVA: 0x000B34D0 File Offset: 0x000B16D0
public SecurityElement ToXml()
{
SecurityElement securityElement = new SecurityElement("IApplicationTrustManager");
securityElement.AddAttribute("class", typeof(MonoTrustManager).AssemblyQualifiedName);
securityElement.AddAttribute("version", "1");
return securityElement;
}
// Token: 0x04001559 RID: 5465
private const string tag = "IApplicationTrustManager";
}
}