<PackageReference Include="System.Security.Permissions" Version="10.0.0-preview.2.25163.2" />

KeyContainerPermissionAccessEntry

public sealed class KeyContainerPermissionAccessEntry
Specifies access rights for specific key containers. This class cannot be inherited.
public KeyContainerPermissionFlags Flags { get; set; }

Gets or sets the key container permissions.

public string KeyContainerName { get; set; }

Gets or sets the key container name.

public int KeySpec { get; set; }

Gets or sets the key specification.

public string KeyStore { get; set; }

Gets or sets the name of the key store.

public string ProviderName { get; set; }

Gets or sets the provider name.

public int ProviderType { get; set; }

Gets or sets the provider type.

public KeyContainerPermissionAccessEntry(string keyContainerName, KeyContainerPermissionFlags flags)

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

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

public KeyContainerPermissionAccessEntry(string keyStore, string providerName, int providerType, string keyContainerName, int keySpec, KeyContainerPermissionFlags flags)

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