Rediger

Del via


KeyContainerPermissionAccessEntry Class

Definition

Caution

Code Access Security is not supported or honored by the runtime.

Specifies access rights for specific key containers. This class cannot be inherited.

public ref class KeyContainerPermissionAccessEntry sealed
[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
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}")>]
type KeyContainerPermissionAccessEntry = class
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type KeyContainerPermissionAccessEntry = class
type KeyContainerPermissionAccessEntry = class
Public NotInheritable Class KeyContainerPermissionAccessEntry
Inheritance
KeyContainerPermissionAccessEntry
Attributes

Remarks

Caution

Code Access Security (CAS) has been deprecated across all versions of .NET Framework and .NET. Recent versions of .NET do not honor CAS annotations and produce errors if CAS-related APIs are used. Developers should seek alternative means of accomplishing security tasks.

This permission is intended to enable users to easily manage key containers when either a small number of keys is involved, or access is to be granted to only some keys.

Constructors

KeyContainerPermissionAccessEntry(CspParameters, KeyContainerPermissionFlags)

Initializes a new instance of the KeyContainerPermissionAccessEntry class, using the specified cryptographic service provider (CSP) parameters and access permissions.

KeyContainerPermissionAccessEntry(String, KeyContainerPermissionFlags)

Initializes a new instance of the KeyContainerPermissionAccessEntry class, using the specified key container name and access permissions.

KeyContainerPermissionAccessEntry(String, String, Int32, String, Int32, KeyContainerPermissionFlags)

Initializes a new instance of the KeyContainerPermissionAccessEntry class with the specified property values.

Properties

Flags

Gets or sets the key container permissions.

KeyContainerName

Gets or sets the key container name.

KeySpec

Gets or sets the key specification.

KeyStore

Gets or sets the name of the key store.

ProviderName

Gets or sets the provider name.

ProviderType

Gets or sets the provider type.

Methods

Equals(Object)

Determines whether the specified KeyContainerPermissionAccessEntry object is equal to the current instance.

GetHashCode()

Gets a hash code for the current instance that is suitable for use in hashing algorithms and data structures such as a hash table.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to