using System;
using System.Runtime.InteropServices;
using System.Security.Permissions;
namespace System.Security.Policy
{
/// Holds the security evidence for an application. This class cannot be inherited.
// Token: 0x0200057C RID: 1404
[ComVisible(true)]
public sealed class ApplicationSecurityInfo
{
/// Initializes a new instance of the class using the provided activation context.
/// An object that uniquely identifies the target application.
///
/// is null.
// Token: 0x06003350 RID: 13136 RVA: 0x000B06A0 File Offset: 0x000AE8A0
public ApplicationSecurityInfo(ActivationContext activationContext)
{
if (activationContext == null)
{
throw new ArgumentNullException("activationContext");
}
this._context = activationContext;
}
/// Gets or sets the evidence for the application.
/// An object for the application.
///
/// is set to null.
///
///
///
// Token: 0x17000A0F RID: 2575
// (get) Token: 0x06003351 RID: 13137 RVA: 0x000B06C0 File Offset: 0x000AE8C0
// (set) Token: 0x06003352 RID: 13138 RVA: 0x000B06C8 File Offset: 0x000AE8C8
public Evidence ApplicationEvidence
{
get
{
return this._evidence;
}
set
{
if (value == null)
{
throw new ArgumentNullException("ApplicationEvidence");
}
this._evidence = value;
}
}
/// Gets or sets the application identity information.
/// An object.
///
/// is set to null.
// Token: 0x17000A10 RID: 2576
// (get) Token: 0x06003353 RID: 13139 RVA: 0x000B06E4 File Offset: 0x000AE8E4
// (set) Token: 0x06003354 RID: 13140 RVA: 0x000B06EC File Offset: 0x000AE8EC
public ApplicationId ApplicationId
{
get
{
return this._appid;
}
set
{
if (value == null)
{
throw new ArgumentNullException("ApplicationId");
}
this._appid = value;
}
}
/// Gets or sets the default permission set.
/// A object representing the default permissions for the application. The default is a with a permission state of
///
/// is set to null.
// Token: 0x17000A11 RID: 2577
// (get) Token: 0x06003355 RID: 13141 RVA: 0x000B0708 File Offset: 0x000AE908
// (set) Token: 0x06003356 RID: 13142 RVA: 0x000B0724 File Offset: 0x000AE924
public PermissionSet DefaultRequestSet
{
get
{
if (this._defaultSet == null)
{
return new PermissionSet(PermissionState.None);
}
return this._defaultSet;
}
set
{
if (value == null)
{
throw new ArgumentNullException("DefaultRequestSet");
}
this._defaultSet = value;
}
}
/// Gets or sets the top element in the application, which is described in the deployment identity.
/// An object describing the top element of the application.
///
/// is set to null.
// Token: 0x17000A12 RID: 2578
// (get) Token: 0x06003357 RID: 13143 RVA: 0x000B0740 File Offset: 0x000AE940
// (set) Token: 0x06003358 RID: 13144 RVA: 0x000B0748 File Offset: 0x000AE948
public ApplicationId DeploymentId
{
get
{
return this._deployid;
}
set
{
if (value == null)
{
throw new ArgumentNullException("DeploymentId");
}
this._deployid = value;
}
}
// Token: 0x04001504 RID: 5380
private ActivationContext _context;
// Token: 0x04001505 RID: 5381
private Evidence _evidence;
// Token: 0x04001506 RID: 5382
private ApplicationId _appid;
// Token: 0x04001507 RID: 5383
private PermissionSet _defaultSet;
// Token: 0x04001508 RID: 5384
private ApplicationId _deployid;
}
}