scripts
This commit is contained in:
@@ -0,0 +1,190 @@
|
||||
using System;
|
||||
using System.Security.Principal;
|
||||
|
||||
namespace System.Security.AccessControl
|
||||
{
|
||||
/// <summary>Provides the ability to control access to a cryptographic key object without direct manipulation of an Access Control List (ACL).</summary>
|
||||
// Token: 0x020004B8 RID: 1208
|
||||
public sealed class CryptoKeySecurity : NativeObjectSecurity
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> class.</summary>
|
||||
// Token: 0x06002CFC RID: 11516 RVA: 0x000934F8 File Offset: 0x000916F8
|
||||
[MonoTODO]
|
||||
public CryptoKeySecurity()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> class by using the specified security descriptor.</summary>
|
||||
/// <param name="securityDescriptor">The security descriptor from which to create the new <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</param>
|
||||
// Token: 0x06002CFD RID: 11517 RVA: 0x00093500 File Offset: 0x00091700
|
||||
[MonoTODO]
|
||||
public CryptoKeySecurity(CommonSecurityDescriptor securityDescriptor)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the <see cref="T:System.Type" /> of the securable object associated with this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</summary>
|
||||
/// <returns>The type of the securable object associated with this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</returns>
|
||||
// Token: 0x170008D5 RID: 2261
|
||||
// (get) Token: 0x06002CFE RID: 11518 RVA: 0x00093508 File Offset: 0x00091708
|
||||
public override Type AccessRightType
|
||||
{
|
||||
get
|
||||
{
|
||||
return typeof(CryptoKeyRights);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the <see cref="T:System.Type" /> of the object associated with the access rules of this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object. The <see cref="T:System.Type" /> object must be an object that can be cast as a <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</summary>
|
||||
/// <returns>The type of the object associated with the access rules of this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</returns>
|
||||
// Token: 0x170008D6 RID: 2262
|
||||
// (get) Token: 0x06002CFF RID: 11519 RVA: 0x00093514 File Offset: 0x00091714
|
||||
public override Type AccessRuleType
|
||||
{
|
||||
get
|
||||
{
|
||||
return typeof(CryptoKeyAccessRule);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the <see cref="T:System.Type" /> object associated with the audit rules of this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object. The <see cref="T:System.Type" /> object must be an object that can be cast as a <see cref="T:System.Security.Principal.SecurityIdentifier" /> object.</summary>
|
||||
/// <returns>The type of the object associated with the audit rules of this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</returns>
|
||||
// Token: 0x170008D7 RID: 2263
|
||||
// (get) Token: 0x06002D00 RID: 11520 RVA: 0x00093520 File Offset: 0x00091720
|
||||
public override Type AuditRuleType
|
||||
{
|
||||
get
|
||||
{
|
||||
return typeof(CryptoKeyAuditRule);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.AccessControl.AccessRule" /> class with the specified values.</summary>
|
||||
/// <returns>The <see cref="T:System.Security.AccessControl.AccessRule" /> object that this method creates.</returns>
|
||||
/// <param name="identityReference">The identity to which the access rule applies. It must be an object that can be cast as a <see cref="T:System.Security.Principal.SecurityIdentifier" />.</param>
|
||||
/// <param name="accessMask">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.</param>
|
||||
/// <param name="isInherited">true if this rule is inherited from a parent container.</param>
|
||||
/// <param name="inheritanceFlags">Specifies the inheritance properties of the access rule.</param>
|
||||
/// <param name="propagationFlags">Specifies whether inherited access rules are automatically propagated. The propagation flags are ignored if <paramref name="inheritanceFlags" /> is set to <see cref="F:System.Security.AccessControl.InheritanceFlags.None" />.</param>
|
||||
/// <param name="type">Specifies the valid access control type.</param>
|
||||
// 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);
|
||||
}
|
||||
|
||||
/// <summary>Adds the specified access rule to the Discretionary Access Control List (DACL) associated with this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</summary>
|
||||
/// <param name="rule">The access rule to add.</param>
|
||||
// Token: 0x06002D02 RID: 11522 RVA: 0x00093538 File Offset: 0x00091738
|
||||
[MonoTODO]
|
||||
public void AddAccessRule(CryptoKeyAccessRule rule)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
/// <summary>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 <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</summary>
|
||||
/// <returns>true if the access rule was successfully removed; otherwise, false.</returns>
|
||||
/// <param name="rule">The access rule to remove.</param>
|
||||
// Token: 0x06002D03 RID: 11523 RVA: 0x00093540 File Offset: 0x00091740
|
||||
[MonoTODO]
|
||||
public bool RemoveAccessRule(CryptoKeyAccessRule rule)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
/// <summary>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 <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</summary>
|
||||
/// <param name="rule">The access rule to remove.</param>
|
||||
// Token: 0x06002D04 RID: 11524 RVA: 0x00093548 File Offset: 0x00091748
|
||||
[MonoTODO]
|
||||
public void RemoveAccessRuleAll(CryptoKeyAccessRule rule)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
/// <summary>Removes all access rules that exactly match the specified access rule from the Discretionary Access Control List (DACL) associated with this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</summary>
|
||||
/// <param name="rule">The access rule to remove.</param>
|
||||
// Token: 0x06002D05 RID: 11525 RVA: 0x00093550 File Offset: 0x00091750
|
||||
[MonoTODO]
|
||||
public void RemoveAccessRuleSpecific(CryptoKeyAccessRule rule)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
/// <summary>Removes all access rules in the Discretionary Access Control List (DACL) associated with this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object and then adds the specified access rule.</summary>
|
||||
/// <param name="rule">The access rule to reset.</param>
|
||||
// Token: 0x06002D06 RID: 11526 RVA: 0x00093558 File Offset: 0x00091758
|
||||
[MonoTODO]
|
||||
public void ResetAccessRule(CryptoKeyAccessRule rule)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
/// <summary>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 <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object and then adds the specified access rule.</summary>
|
||||
/// <param name="rule">The access rule to set.</param>
|
||||
// Token: 0x06002D07 RID: 11527 RVA: 0x00093560 File Offset: 0x00091760
|
||||
[MonoTODO]
|
||||
public void SetAccessRule(CryptoKeyAccessRule rule)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.AccessControl.AuditRule" /> class with the specified values.</summary>
|
||||
/// <returns>The <see cref="T:System.Security.AccessControl.AuditRule" /> object that this method creates.</returns>
|
||||
/// <param name="identityReference">The identity to which the audit rule applies. It must be an object that can be cast as a <see cref="T:System.Security.Principal.SecurityIdentifier" />.</param>
|
||||
/// <param name="accessMask">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.</param>
|
||||
/// <param name="isInherited">true if this rule is inherited from a parent container.</param>
|
||||
/// <param name="inheritanceFlags">Specifies the inheritance properties of the audit rule.</param>
|
||||
/// <param name="propagationFlags">Specifies whether inherited audit rules are automatically propagated. The propagation flags are ignored if <paramref name="inheritanceFlags" /> is set to <see cref="F:System.Security.AccessControl.InheritanceFlags.None" />.</param>
|
||||
/// <param name="flags">Specifies the conditions for which the rule is audited.</param>
|
||||
// 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);
|
||||
}
|
||||
|
||||
/// <summary>Adds the specified audit rule to the System Access Control List (SACL) associated with this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</summary>
|
||||
/// <param name="rule">The audit rule to add.</param>
|
||||
// Token: 0x06002D09 RID: 11529 RVA: 0x00093574 File Offset: 0x00091774
|
||||
[MonoTODO]
|
||||
public void AddAuditRule(CryptoKeyAuditRule rule)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
/// <summary>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 <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</summary>
|
||||
/// <returns>true if the audit rule was successfully removed; otherwise, false.</returns>
|
||||
/// <param name="rule">The audit rule to remove.</param>
|
||||
// Token: 0x06002D0A RID: 11530 RVA: 0x0009357C File Offset: 0x0009177C
|
||||
[MonoTODO]
|
||||
public bool RemoveAuditRule(CryptoKeyAuditRule rule)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
/// <summary>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 <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</summary>
|
||||
/// <param name="rule">The audit rule to remove.</param>
|
||||
// Token: 0x06002D0B RID: 11531 RVA: 0x00093584 File Offset: 0x00091784
|
||||
[MonoTODO]
|
||||
public void RemoveAuditRuleAll(CryptoKeyAuditRule rule)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
/// <summary>Removes all audit rules that exactly match the specified audit rule from the System Access Control List (SACL) associated with this <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object.</summary>
|
||||
/// <param name="rule">The audit rule to remove.</param>
|
||||
// Token: 0x06002D0C RID: 11532 RVA: 0x0009358C File Offset: 0x0009178C
|
||||
[MonoTODO]
|
||||
public void RemoveAuditRuleSpecific(CryptoKeyAuditRule rule)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
/// <summary>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 <see cref="T:System.Security.AccessControl.CryptoKeySecurity" /> object and then adds the specified audit rule.</summary>
|
||||
/// <param name="rule">The audit rule to set.</param>
|
||||
// Token: 0x06002D0D RID: 11533 RVA: 0x00093594 File Offset: 0x00091794
|
||||
[MonoTODO]
|
||||
public void SetAuditRule(CryptoKeyAuditRule rule)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user