using System; using System.Security.Principal; namespace System.Security.AccessControl { /// Provides the ability to control access to a cryptographic key object without direct manipulation of an Access Control List (ACL). // Token: 0x020004B8 RID: 1208 public sealed class CryptoKeySecurity : NativeObjectSecurity { /// Initializes a new instance of the class. // Token: 0x06002CFC RID: 11516 RVA: 0x000934F8 File Offset: 0x000916F8 [MonoTODO] public CryptoKeySecurity() { } /// Initializes a new instance of the class by using the specified security descriptor. /// The security descriptor from which to create the new object. // Token: 0x06002CFD RID: 11517 RVA: 0x00093500 File Offset: 0x00091700 [MonoTODO] public CryptoKeySecurity(CommonSecurityDescriptor securityDescriptor) { } /// Gets the of the securable object associated with this object. /// The type of the securable object associated with this object. // Token: 0x170008D5 RID: 2261 // (get) Token: 0x06002CFE RID: 11518 RVA: 0x00093508 File Offset: 0x00091708 public override Type AccessRightType { get { return typeof(CryptoKeyRights); } } /// Gets the of the object associated with the access rules of this object. The object must be an object that can be cast as a object. /// The type of the object associated with the access rules of this object. // Token: 0x170008D6 RID: 2262 // (get) Token: 0x06002CFF RID: 11519 RVA: 0x00093514 File Offset: 0x00091714 public override Type AccessRuleType { get { return typeof(CryptoKeyAccessRule); } } /// Gets the object associated with the audit rules of this object. The object must be an object that can be cast as a object. /// The type of the object associated with the audit rules of this object. // Token: 0x170008D7 RID: 2263 // (get) Token: 0x06002D00 RID: 11520 RVA: 0x00093520 File Offset: 0x00091720 public override Type AuditRuleType { get { return typeof(CryptoKeyAuditRule); } } /// Initializes a new instance of the class with the specified values. /// The object that this method creates. /// The identity to which the access rule applies. It must be an object that can be cast as a . /// The access mask of this rule. The access mask is a 32-bit collection of anonymous bits, the meaning of which is defined by the individual integrators. /// true if this rule is inherited from a parent container. /// Specifies the inheritance properties of the access rule. /// Specifies whether inherited access rules are automatically propagated. The propagation flags are ignored if is set to . /// Specifies the valid access control type. // Token: 0x06002D01 RID: 11521 RVA: 0x0009352C File Offset: 0x0009172C public sealed override AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type) { return new CryptoKeyAccessRule(identityReference, (CryptoKeyRights)accessMask, type); } /// Adds the specified access rule to the Discretionary Access Control List (DACL) associated with this object. /// The access rule to add. // Token: 0x06002D02 RID: 11522 RVA: 0x00093538 File Offset: 0x00091738 [MonoTODO] public void AddAccessRule(CryptoKeyAccessRule rule) { throw new NotImplementedException(); } /// Removes access rules that contain the same security identifier and access mask as the specified access rule from the Discretionary Access Control List (DACL) associated with this object. /// true if the access rule was successfully removed; otherwise, false. /// The access rule to remove. // Token: 0x06002D03 RID: 11523 RVA: 0x00093540 File Offset: 0x00091740 [MonoTODO] public bool RemoveAccessRule(CryptoKeyAccessRule rule) { throw new NotImplementedException(); } /// Removes all access rules that have the same security identifier as the specified access rule from the Discretionary Access Control List (DACL) associated with this object. /// The access rule to remove. // Token: 0x06002D04 RID: 11524 RVA: 0x00093548 File Offset: 0x00091748 [MonoTODO] public void RemoveAccessRuleAll(CryptoKeyAccessRule rule) { throw new NotImplementedException(); } /// Removes all access rules that exactly match the specified access rule from the Discretionary Access Control List (DACL) associated with this object. /// The access rule to remove. // Token: 0x06002D05 RID: 11525 RVA: 0x00093550 File Offset: 0x00091750 [MonoTODO] public void RemoveAccessRuleSpecific(CryptoKeyAccessRule rule) { throw new NotImplementedException(); } /// Removes all access rules in the Discretionary Access Control List (DACL) associated with this object and then adds the specified access rule. /// The access rule to reset. // Token: 0x06002D06 RID: 11526 RVA: 0x00093558 File Offset: 0x00091758 [MonoTODO] public void ResetAccessRule(CryptoKeyAccessRule rule) { throw new NotImplementedException(); } /// Removes all access rules that contain the same security identifier and qualifier as the specified access rule in the Discretionary Access Control List (DACL) associated with this object and then adds the specified access rule. /// The access rule to set. // Token: 0x06002D07 RID: 11527 RVA: 0x00093560 File Offset: 0x00091760 [MonoTODO] public void SetAccessRule(CryptoKeyAccessRule rule) { throw new NotImplementedException(); } /// Initializes a new instance of the class with the specified values. /// The object that this method creates. /// The identity to which the audit rule applies. It must be an object that can be cast as a . /// The access mask of this rule. The access mask is a 32-bit collection of anonymous bits, the meaning of which is defined by the individual integrators. /// true if this rule is inherited from a parent container. /// Specifies the inheritance properties of the audit rule. /// Specifies whether inherited audit rules are automatically propagated. The propagation flags are ignored if is set to . /// Specifies the conditions for which the rule is audited. // Token: 0x06002D08 RID: 11528 RVA: 0x00093568 File Offset: 0x00091768 public sealed override AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags) { return new CryptoKeyAuditRule(identityReference, (CryptoKeyRights)accessMask, flags); } /// Adds the specified audit rule to the System Access Control List (SACL) associated with this object. /// The audit rule to add. // Token: 0x06002D09 RID: 11529 RVA: 0x00093574 File Offset: 0x00091774 [MonoTODO] public void AddAuditRule(CryptoKeyAuditRule rule) { throw new NotImplementedException(); } /// Removes audit rules that contain the same security identifier and access mask as the specified audit rule from the System Access Control List (SACL) associated with this object. /// true if the audit rule was successfully removed; otherwise, false. /// The audit rule to remove. // Token: 0x06002D0A RID: 11530 RVA: 0x0009357C File Offset: 0x0009177C [MonoTODO] public bool RemoveAuditRule(CryptoKeyAuditRule rule) { throw new NotImplementedException(); } /// Removes all audit rules that have the same security identifier as the specified audit rule from the System Access Control List (SACL) associated with this object. /// The audit rule to remove. // Token: 0x06002D0B RID: 11531 RVA: 0x00093584 File Offset: 0x00091784 [MonoTODO] public void RemoveAuditRuleAll(CryptoKeyAuditRule rule) { throw new NotImplementedException(); } /// Removes all audit rules that exactly match the specified audit rule from the System Access Control List (SACL) associated with this object. /// The audit rule to remove. // Token: 0x06002D0C RID: 11532 RVA: 0x0009358C File Offset: 0x0009178C [MonoTODO] public void RemoveAuditRuleSpecific(CryptoKeyAuditRule rule) { throw new NotImplementedException(); } /// Removes all audit rules that contain the same security identifier and qualifier as the specified audit rule in the System Access Control List (SACL) associated with this object and then adds the specified audit rule. /// The audit rule to set. // Token: 0x06002D0D RID: 11533 RVA: 0x00093594 File Offset: 0x00091794 [MonoTODO] public void SetAuditRule(CryptoKeyAuditRule rule) { throw new NotImplementedException(); } } }