KeyContainerPermissionAccessEntry 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Code Access Security is not supported or honored by the runtime.
为特定密钥容器指定访问权限。 此类不能被继承。
public ref class KeyContainerPermissionAccessEntry sealed
public sealed class KeyContainerPermissionAccessEntry
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public sealed class KeyContainerPermissionAccessEntry
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public sealed class KeyContainerPermissionAccessEntry
type KeyContainerPermissionAccessEntry = class
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type KeyContainerPermissionAccessEntry = class
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type KeyContainerPermissionAccessEntry = class
Public NotInheritable Class KeyContainerPermissionAccessEntry
- 继承
-
KeyContainerPermissionAccessEntry
- 属性
注解
此权限旨在让用户在涉及少量密钥时轻松管理密钥容器,或者仅向某些密钥授予访问权限。
构造函数
KeyContainerPermissionAccessEntry(CspParameters, KeyContainerPermissionFlags) |
使用指定的加密服务提供程序 (CSP) 参数和访问权限初始化 KeyContainerPermissionAccessEntry 类的新实例。 |
KeyContainerPermissionAccessEntry(String, KeyContainerPermissionFlags) |
使用指定的密钥容器名称和访问权限初始化 KeyContainerPermissionAccessEntry 类的新实例。 |
KeyContainerPermissionAccessEntry(String, String, Int32, String, Int32, KeyContainerPermissionFlags) |
使用指定的属性值初始化 KeyContainerPermissionAccessEntry 类的新实例。 |
属性
Flags |
获取或设置密钥容器权限。 |
KeyContainerName |
获取或设置密钥容器名称。 |
KeySpec |
获取或设置密钥规范。 |
KeyStore |
获取或设置密钥存储区的名称。 |
ProviderName |
获取或设置提供程序名称。 |
ProviderType |
获取或设置提供程序类型。 |
方法
Equals(Object) |
确定指定的 KeyContainerPermissionAccessEntry 对象是否等于当前实例。 |
GetHashCode() |
获取适合在哈希算法和类似哈希表的数据结构中使用的当前实例的哈希代码。 |
GetType() |
获取当前实例的 Type。 (继承自 Object) |
MemberwiseClone() |
创建当前 Object 的浅表副本。 (继承自 Object) |
ToString() |
返回表示当前对象的字符串。 (继承自 Object) |