Прочетете на английски Редактиране

Споделяне чрез


KeyContainerPermissionAttribute.ProviderType Property

Definition

Gets or sets the provider type.

C#
public int ProviderType { get; set; }

Property Value

One of the PROV_ values defined in the Wincrypt.h header file.

Remarks

If no value is specified, PROV_RSA_FULL (1) is used.

The following values are defined in the Wincrypt.h header file:

  • #define PROV_RSA_FULL 1

  • #define PROV_RSA_SIG 2

  • #define PROV_DSS 3

  • #define PROV_FORTEZZA 4

  • #define PROV_MS_EXCHANGE 5

  • #define PROV_SSL 6

  • #define PROV_RSA_SCHANNEL 12

  • #define PROV_DSS_DH 13

  • #define PROV_EC_ECDSA_SIG 14

  • #define PROV_EC_ECNRA_SIG 15

  • #define PROV_EC_ECDSA_FULL 16

  • #define PROV_EC_ECNRA_FULL 17

  • #define PROV_DH_SCHANNEL 18

  • #define PROV_SPYRUS_LYNKS 20

  • #define PROV_RNG 21

  • #define PROV_INTEL_SEC 22

  • #define PROV_REPLACE_OWF 23

  • #define PROV_RSA_AES 24

Applies to

Продукт Версии
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10