System.Security.AccessControl.CryptoKeySecurity Members

The members of System.Security.AccessControl.CryptoKeySecurity are listed below.

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

Public Constructors

Initializes a new instance of the System.Security.AccessControl.CryptoKeySecurity class.

Initializes a new instance of the System.Security.AccessControl.CryptoKeySecurity class by using the specified security descriptor.

Public Properties

[read-only]
override
AccessRightTypeType.

Gets the Type of the securable object associated with this System.Security.AccessControl.CryptoKeySecurity object.

[read-only]
override
AccessRuleTypeType.

Gets the Type of the object associated with the access rules of this System.Security.AccessControl.CryptoKeySecurity object. The Type object must be an object that can be cast as a System.Security.Principal.SecurityIdentifier object.

[read-only]
override
AuditRuleTypeType.

Gets the Type object associated with the audit rules of this System.Security.AccessControl.CryptoKeySecurity object. The Type object must be an object that can be cast as a System.Security.Principal.SecurityIdentifier object.

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.