using System;
using System.Security.Principal;
namespace System.Security.AccessControl
{
/// Represents a security descriptor. A security descriptor includes an owner, a primary group, a Discretionary Access Control List (DACL), and a System Access Control List (SACL).
// Token: 0x020004B1 RID: 1201
public sealed class CommonSecurityDescriptor : GenericSecurityDescriptor
{
/// Initializes a new instance of the class from the specified object.
/// true if the new security descriptor is associated with a container object.
/// true if the new security descriptor is associated with a directory object.
/// The object from which to create the new object.
// Token: 0x06002CDC RID: 11484 RVA: 0x00093324 File Offset: 0x00091524
public CommonSecurityDescriptor(bool isContainer, bool isDS, RawSecurityDescriptor rawSecurityDescriptor)
{
throw new NotImplementedException();
}
/// Initializes a new instance of the class from the specified Security Descriptor Definition Language (SDDL) string.
/// true if the new security descriptor is associated with a container object.
/// true if the new security descriptor is associated with a directory object.
/// The SDDL string from which to create the new object.
// Token: 0x06002CDD RID: 11485 RVA: 0x00093334 File Offset: 0x00091534
public CommonSecurityDescriptor(bool isContainer, bool isDS, string sddlForm)
{
throw new NotImplementedException();
}
/// Initializes a new instance of the class from the specified array of byte values.
/// true if the new security descriptor is associated with a container object.
/// true if the new security descriptor is associated with a directory object.
/// The array of byte values from which to create the new object.
/// The offset in the array at which to begin copying.
// Token: 0x06002CDE RID: 11486 RVA: 0x00093344 File Offset: 0x00091544
public CommonSecurityDescriptor(bool isContainer, bool isDS, byte[] binaryForm, int offset)
{
throw new NotImplementedException();
}
/// Initializes a new instance of the class from the specified information.
/// true if the new security descriptor is associated with a container object.
/// true if the new security descriptor is associated with a directory object.
/// Flags that specify behavior of the new object.
/// The owner for the new object.
/// The primary group for the new object.
/// The System Access Control List (SACL) for the new object.
/// The Discretionary Access Control List (DACL) for the new object.
// Token: 0x06002CDF RID: 11487 RVA: 0x00093354 File Offset: 0x00091554
public CommonSecurityDescriptor(bool isContainer, bool isDS, ControlFlags flags, SecurityIdentifier owner, SecurityIdentifier group, SystemAcl systemAcl, DiscretionaryAcl discretionaryAcl)
{
this.isContainer = isContainer;
this.isDS = isDS;
this.flags = flags;
this.owner = owner;
this.group = group;
this.systemAcl = systemAcl;
this.discretionaryAcl = discretionaryAcl;
throw new NotImplementedException();
}
/// Gets values that specify behavior of the object.
/// One or more values of the enumeration combined with a logical OR operation.
// Token: 0x170008C8 RID: 2248
// (get) Token: 0x06002CE0 RID: 11488 RVA: 0x000933A4 File Offset: 0x000915A4
public override ControlFlags ControlFlags
{
get
{
return this.flags;
}
}
/// Gets or sets the discretionary access control list (DACL) for this object. The DACL contains access rules.
/// The DACL for this object.
// Token: 0x170008C9 RID: 2249
// (get) Token: 0x06002CE1 RID: 11489 RVA: 0x000933AC File Offset: 0x000915AC
// (set) Token: 0x06002CE2 RID: 11490 RVA: 0x000933B4 File Offset: 0x000915B4
public DiscretionaryAcl DiscretionaryAcl
{
get
{
return this.discretionaryAcl;
}
set
{
if (value == null)
{
}
this.discretionaryAcl = value;
}
}
/// Gets or sets the primary group for this object.
/// The primary group for this object.
// Token: 0x170008CA RID: 2250
// (get) Token: 0x06002CE3 RID: 11491 RVA: 0x000933C4 File Offset: 0x000915C4
// (set) Token: 0x06002CE4 RID: 11492 RVA: 0x000933CC File Offset: 0x000915CC
public override SecurityIdentifier Group
{
get
{
return this.group;
}
set
{
this.group = value;
}
}
/// Gets a Boolean value that specifies whether the object associated with this object is a container object.
/// true if the object associated with this object is a container object; otherwise, false.
// Token: 0x170008CB RID: 2251
// (get) Token: 0x06002CE5 RID: 11493 RVA: 0x000933D8 File Offset: 0x000915D8
public bool IsContainer
{
get
{
return this.isContainer;
}
}
/// Gets a Boolean value that specifies whether the Discretionary Access Control List (DACL) associated with this object is in canonical order.
/// true if the DACL associated with this object is in canonical order; otherwise, false.
// Token: 0x170008CC RID: 2252
// (get) Token: 0x06002CE6 RID: 11494 RVA: 0x000933E0 File Offset: 0x000915E0
public bool IsDiscretionaryAclCanonical
{
get
{
throw new NotImplementedException();
}
}
/// Gets a Boolean value that specifies whether the object associated with this object is a directory object.
/// true if the object associated with this object is a directory object; otherwise, false.
// Token: 0x170008CD RID: 2253
// (get) Token: 0x06002CE7 RID: 11495 RVA: 0x000933E8 File Offset: 0x000915E8
public bool IsDS
{
get
{
return this.isDS;
}
}
/// Gets a Boolean value that specifies whether the System Access Control List (SACL) associated with this object is in canonical order.
/// true if the SACL associated with this object is in canonical order; otherwise, false.
// Token: 0x170008CE RID: 2254
// (get) Token: 0x06002CE8 RID: 11496 RVA: 0x000933F0 File Offset: 0x000915F0
public bool IsSystemAclCanonical
{
get
{
throw new NotImplementedException();
}
}
/// Gets or sets the owner of the object associated with this object.
/// The owner of the object associated with this object.
// Token: 0x170008CF RID: 2255
// (get) Token: 0x06002CE9 RID: 11497 RVA: 0x000933F8 File Offset: 0x000915F8
// (set) Token: 0x06002CEA RID: 11498 RVA: 0x00093400 File Offset: 0x00091600
public override SecurityIdentifier Owner
{
get
{
return this.owner;
}
set
{
this.owner = value;
}
}
/// Gets or sets the System Access Control List (SACL) for this object. The SACL contains audit rules.
/// The SACL for this object.
// Token: 0x170008D0 RID: 2256
// (get) Token: 0x06002CEB RID: 11499 RVA: 0x0009340C File Offset: 0x0009160C
// (set) Token: 0x06002CEC RID: 11500 RVA: 0x00093414 File Offset: 0x00091614
public SystemAcl SystemAcl
{
get
{
return this.systemAcl;
}
set
{
this.systemAcl = value;
}
}
/// Removes all access rules for the specified security identifier from the Discretionary Access Control List (DACL) associated with this object.
/// The security identifier for which to remove access rules.
// Token: 0x06002CED RID: 11501 RVA: 0x00093420 File Offset: 0x00091620
public void PurgeAccessControl(SecurityIdentifier sid)
{
throw new NotImplementedException();
}
/// Removes all audit rules for the specified security identifier from the System Access Control List (SACL) associated with this object.
/// The security identifier for which to remove audit rules.
// Token: 0x06002CEE RID: 11502 RVA: 0x00093428 File Offset: 0x00091628
public void PurgeAudit(SecurityIdentifier sid)
{
throw new NotImplementedException();
}
/// Sets the inheritance protection for the Discretionary Access Control List (DACL) associated with this object. DACLs that are protected do not inherit access rules from parent containers.
/// true to protect the DACL from inheritance.
/// true to keep inherited access rules in the DACL; false to remove inherited access rules from the DACL.
// Token: 0x06002CEF RID: 11503 RVA: 0x00093430 File Offset: 0x00091630
public void SetDiscretionaryAclProtection(bool isProtected, bool preserveInheritance)
{
throw new NotImplementedException();
}
/// Sets the inheritance protection for the System Access Control List (SACL) associated with this object. SACLs that are protected do not inherit audit rules from parent containers.
/// true to protect the SACL from inheritance.
/// true to keep inherited audit rules in the SACL; false to remove inherited audit rules from the SACL.
// Token: 0x06002CF0 RID: 11504 RVA: 0x00093438 File Offset: 0x00091638
public void SetSystemAclProtection(bool isProtected, bool preserveInheritance)
{
throw new NotImplementedException();
}
// Token: 0x040011A3 RID: 4515
private bool isContainer;
// Token: 0x040011A4 RID: 4516
private bool isDS;
// Token: 0x040011A5 RID: 4517
private ControlFlags flags;
// Token: 0x040011A6 RID: 4518
private SecurityIdentifier owner;
// Token: 0x040011A7 RID: 4519
private SecurityIdentifier group;
// Token: 0x040011A8 RID: 4520
private SystemAcl systemAcl;
// Token: 0x040011A9 RID: 4521
private DiscretionaryAcl discretionaryAcl;
}
}