CryptoKeySecurity Class
TOC
Collapse the table of content
Expand the table of content

CryptoKeySecurity Class

 

Provides the ability to control access to a cryptographic key object without direct manipulation of an Access Control List (ACL).

Namespace:   System.Security.AccessControl
Assembly:  mscorlib (in mscorlib.dll)


public sealed class CryptoKeySecurity : NativeObjectSecurity

NameDescription
System_CAPS_pubmethodCryptoKeySecurity()

Initializes a new instance of the CryptoKeySecurity class.

System_CAPS_pubmethodCryptoKeySecurity(CommonSecurityDescriptor)

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

NameDescription
System_CAPS_pubpropertyAccessRightType

Gets the Type of the securable object associated with this CryptoKeySecurity object.(Overrides ObjectSecurity.AccessRightType.)

System_CAPS_pubpropertyAccessRuleType

Gets the Type of the object associated with the access rules of this CryptoKeySecurity object. The Type object must be an object that can be cast as a SecurityIdentifier object.(Overrides ObjectSecurity.AccessRuleType.)

System_CAPS_pubpropertyAreAccessRulesCanonical

Gets a Boolean value that specifies whether the access rules associated with this ObjectSecurity object are in canonical order.(Inherited from ObjectSecurity.)

System_CAPS_pubpropertyAreAccessRulesProtected

Gets a Boolean value that specifies whether the Discretionary Access Control List (DACL) associated with this ObjectSecurity object is protected.(Inherited from ObjectSecurity.)

System_CAPS_pubpropertyAreAuditRulesCanonical

Gets a Boolean value that specifies whether the audit rules associated with this ObjectSecurity object are in canonical order.(Inherited from ObjectSecurity.)

System_CAPS_pubpropertyAreAuditRulesProtected

Gets a Boolean value that specifies whether the System Access Control List (SACL) associated with this ObjectSecurity object is protected.(Inherited from ObjectSecurity.)

System_CAPS_pubpropertyAuditRuleType

Gets the Type object associated with the audit rules of this CryptoKeySecurity object. The Type object must be an object that can be cast as a SecurityIdentifier object.(Overrides ObjectSecurity.AuditRuleType.)

NameDescription
System_CAPS_pubmethodAccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType)
System_CAPS_pubmethodAddAccessRule(CryptoKeyAccessRule)

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

System_CAPS_pubmethodAddAuditRule(CryptoKeyAuditRule)

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

System_CAPS_pubmethodAuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags)
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetAccessRules(Boolean, Boolean, Type)

Gets a collection of the access rules associated with the specified security identifier.(Inherited from CommonObjectSecurity.)

System_CAPS_pubmethodGetAuditRules(Boolean, Boolean, Type)

Gets a collection of the audit rules associated with the specified security identifier.(Inherited from CommonObjectSecurity.)

System_CAPS_pubmethodGetGroup(Type)

Gets the primary group associated with the specified owner.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetOwner(Type)

Gets the owner associated with the specified primary group.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodGetSecurityDescriptorBinaryForm()

Returns an array of byte values that represents the security descriptor information for this ObjectSecurity object.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodGetSecurityDescriptorSddlForm(AccessControlSections)

Returns the Security Descriptor Definition Language (SDDL) representation of the specified sections of the security descriptor associated with this ObjectSecurity object.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodModifyAccessRule(AccessControlModification, AccessRule, Boolean)

Applies the specified modification to the Discretionary Access Control List (DACL) associated with this ObjectSecurity object.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodModifyAuditRule(AccessControlModification, AuditRule, Boolean)

Applies the specified modification to the System Access Control List (SACL) associated with this ObjectSecurity object.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodPurgeAccessRules(IdentityReference)

Removes all access rules associated with the specified IdentityReference.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodPurgeAuditRules(IdentityReference)

Removes all audit rules associated with the specified IdentityReference.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodRemoveAccessRule(CryptoKeyAccessRule)

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 CryptoKeySecurity object.

System_CAPS_pubmethodRemoveAccessRuleAll(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 CryptoKeySecurity object.

System_CAPS_pubmethodRemoveAccessRuleSpecific(CryptoKeyAccessRule)

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

System_CAPS_pubmethodRemoveAuditRule(CryptoKeyAuditRule)

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 CryptoKeySecurity object.

System_CAPS_pubmethodRemoveAuditRuleAll(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 CryptoKeySecurity object.

System_CAPS_pubmethodRemoveAuditRuleSpecific(CryptoKeyAuditRule)

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

System_CAPS_pubmethodResetAccessRule(CryptoKeyAccessRule)

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

System_CAPS_pubmethodSetAccessRule(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 CryptoKeySecurity object and then adds the specified access rule.

System_CAPS_pubmethodSetAccessRuleProtection(Boolean, Boolean)

Sets or removes protection of the access rules associated with this ObjectSecurity object. Protected access rules cannot be modified by parent objects through inheritance.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodSetAuditRule(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 CryptoKeySecurity object and then adds the specified audit rule.

System_CAPS_pubmethodSetAuditRuleProtection(Boolean, Boolean)

Sets or removes protection of the audit rules associated with this ObjectSecurity object. Protected audit rules cannot be modified by parent objects through inheritance.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodSetGroup(IdentityReference)

Sets the primary group for the security descriptor associated with this ObjectSecurity object.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodSetOwner(IdentityReference)

Sets the owner for the security descriptor associated with this ObjectSecurity object.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodSetSecurityDescriptorBinaryForm(Byte[])

Sets the security descriptor for this ObjectSecurity object from the specified array of byte values.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodSetSecurityDescriptorBinaryForm(Byte[], AccessControlSections)

Sets the specified sections of the security descriptor for this ObjectSecurity object from the specified array of byte values.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodSetSecurityDescriptorSddlForm(String)

Sets the security descriptor for this ObjectSecurity object from the specified Security Descriptor Definition Language (SDDL) string.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodSetSecurityDescriptorSddlForm(String, AccessControlSections)

Sets the specified sections of the security descriptor for this ObjectSecurity object from the specified Security Descriptor Definition Language (SDDL) string.(Inherited from ObjectSecurity.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft