using System; using System.Security.Principal; namespace System.Security.AccessControl { /// Represents an access control entry (ACE). // Token: 0x020004AE RID: 1198 public sealed class CommonAce : QualifiedAce { /// Initializes a new instance of the class. /// Flags that specify information about the inheritance, inheritance propagation, and auditing conditions for the new access control entry (ACE). /// The use of the new ACE. /// The access mask for the ACE. /// The associated with the new ACE. /// true to specify that the new ACE is a callback type ACE. /// Opaque data associated with the new ACE. Opaque data is allowed only for callback ACE types. The length of this array must not be greater than the return value of the method. // Token: 0x06002CBB RID: 11451 RVA: 0x00092FBC File Offset: 0x000911BC public CommonAce(AceFlags flags, AceQualifier qualifier, int accessMask, SecurityIdentifier sid, bool isCallback, byte[] opaque) : base(InheritanceFlags.None, PropagationFlags.None, qualifier, isCallback, opaque) { base.AccessMask = accessMask; base.SecurityIdentifier = sid; } /// Gets the length, in bytes, of the binary representation of the current object. Use this length with the method before marshaling the ACL into a binary array. /// The length, in bytes, of the binary representation of the current object. // Token: 0x170008C0 RID: 2240 // (get) Token: 0x06002CBC RID: 11452 RVA: 0x00092FDC File Offset: 0x000911DC [MonoTODO] public override int BinaryLength { get { throw new NotImplementedException(); } } /// Marshals the contents of the object into the specified byte array beginning at the specified offset. /// The byte array into which the contents of the object is marshaled. /// The offset at which to start marshaling. /// /// is negative or too high to allow the entire to be copied into the array. // Token: 0x06002CBD RID: 11453 RVA: 0x00092FE4 File Offset: 0x000911E4 [MonoTODO] public override void GetBinaryForm(byte[] binaryForm, int offset) { throw new NotImplementedException(); } /// Gets the maximum allowed length of an opaque data BLOB for callback access control entries (ACEs). /// The allowed length of an opaque data BLOB. /// true to specify that the object is a callback ACE type. // Token: 0x06002CBE RID: 11454 RVA: 0x00092FEC File Offset: 0x000911EC [MonoTODO] public static int MaxOpaqueLength(bool isCallback) { throw new NotImplementedException(); } } }