System.Security.AccessControl.CryptoKeySecurity: Method Members

The methods of System.Security.AccessControl.CryptoKeySecurity are listed below. For a list of all members, see the CryptoKeySecurity Members list.

See Also: Inherited members from System.Security.AccessControl.NativeObjectSecurity

Public Methods

override
AccessRuleFactory(System.Security.Principal.IdentityReference, int, bool, InheritanceFlags, PropagationFlags, AccessControlType) : AccessRule

Initializes a new instance of the System.Security.AccessControl.AccessRule class with the specified values.

AddAccessRule(CryptoKeyAccessRule)

Adds the specified access rule to the Discretionary Access Control List (DACL) associated with this System.Security.AccessControl.CryptoKeySecurity object.

AddAuditRule(CryptoKeyAuditRule)

Adds the specified audit rule to the System Access Control List (SACL) associated with this System.Security.AccessControl.CryptoKeySecurity object.

override
AuditRuleFactory(System.Security.Principal.IdentityReference, int, bool, InheritanceFlags, PropagationFlags, AuditFlags) : AuditRule

Initializes a new instance of the System.Security.AccessControl.AuditRule class with the specified values.

RemoveAccessRule(CryptoKeyAccessRule) : bool

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 System.Security.AccessControl.CryptoKeySecurity object.

RemoveAccessRuleAll(CryptoKeyAccessRule)

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 System.Security.AccessControl.CryptoKeySecurity object.

RemoveAccessRuleSpecific(CryptoKeyAccessRule)

Removes all access rules that exactly match the specified access rule from the Discretionary Access Control List (DACL) associated with this System.Security.AccessControl.CryptoKeySecurity object.

RemoveAuditRule(CryptoKeyAuditRule) : bool

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 System.Security.AccessControl.CryptoKeySecurity object.

RemoveAuditRuleAll(CryptoKeyAuditRule)

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 System.Security.AccessControl.CryptoKeySecurity object.

RemoveAuditRuleSpecific(CryptoKeyAuditRule)

Removes all audit rules that exactly match the specified audit rule from the System Access Control List (SACL) associated with this System.Security.AccessControl.CryptoKeySecurity object.

ResetAccessRule(CryptoKeyAccessRule)

Removes all access rules in the Discretionary Access Control List (DACL) associated with this System.Security.AccessControl.CryptoKeySecurity object and then adds the specified access rule.

SetAccessRule(CryptoKeyAccessRule)

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 System.Security.AccessControl.CryptoKeySecurity object and then adds the specified access rule.

SetAuditRule(CryptoKeyAuditRule)

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 System.Security.AccessControl.CryptoKeySecurity object and then adds the specified audit rule.