mscorlib [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00] 1.0.5000.0 2.0.0.0 4.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Object System.Runtime.InteropServices.ComVisible(true)

The class represents parameters that you can pass to managed cryptography classes that internally use Microsoft Cryptographic Service Providers (CSPs) from the unmanaged Microsoft Cryptography API (CAPI). Classes with names ending in "CryptoServiceProvider" are managed code wrappers for the corresponding CSP.

Use the class to do the following:

Specify a particular CSP by passing the provider type to the or property. You can also specify a CSP using an overload of the constructor.

Create a key container where you can store cryptographic keys. Key containers provide the most secure way to persist cryptographic keys and keep them secret from malicious third parties. For more information about creating key containers, see How to: Store Asymmetric Keys in a Key Container.

Specify whether to create an asymmetric signature key or an asymmetric exchange key using the property.

Contains parameters that are passed to the cryptographic service provider (CSP) that performs cryptographic computations. This class cannot be inherited.

- Constructor
  1.0.5000.0
  2.0.0.0
  4.0.0.0

  This form of initializes the field to a value of 24, which specifies the PROV_RSA_AES provider. This default provider is compatible with the algorithm.

  For information about other provider types, see the field.

  Initializes a new instance of the class.

  The newly created instance of .

- Constructor
  1.0.5000.0
  2.0.0.0
  4.0.0.0

  Use the constructor to specify a provider type by passing a numeric value that represents that provider. The numeric values that represent the default provider types are defined in the WinCrypt.h header file:

  To specify a provider compatible with the algorithm, pass a value of 1to the parameter.

  To specify a provider compatible with the algorithm, pass a value of 13to the parameter.

  For information about other provider type values, see the field. For more information about the default provider types and their behaviors, see the Microsoft Cryptography API (CAPI) documentation in the MSDN library.

  Initializes a new instance of the class with the specified provider type code.

  A provider type code that specifies the kind of provider to create.
- Constructor
  1.0.5000.0
  2.0.0.0
  4.0.0.0

  Use the constructor to specify a provider type and name.

  Specify a provider type by passing a numeric value that represents the desired provider type. The numeric values that represent the default provider types are defined in the WinCrypt.h header file:

  To specify a provider compatible with the algorithm, pass a value of 1to the parameter.

  To specify a provider compatible with the algorithm, pass a value of 13to the parameter.

  For information about other provider type values, see the field. For more information about the default provider types and their behaviors, see the Microsoft Cryptography API (CAPI) documentation in the MSDN library.

  Initializes a new instance of the class with the specified provider type code and name.

  A provider type code that specifies the kind of provider to create.
  A provider name.
- Constructor
  1.0.5000.0
  2.0.0.0
  4.0.0.0

  Use the constructor to specify a provider type, a provider name, and a container name.

  You can use the container name to retrieve a key within that container.

  Specify a provider type by passing a numeric value that represents the desired provider type. The numeric values that represent the default provider types are defined in the WinCrypt.h header file:

  To specify a provider compatible with the algorithm, pass a value of 1to the parameter.

  To specify a provider compatible with the algorithm, pass a value of 13to the parameter.

  For information about other provider type values, see the field. For more information about the default provider types and their behaviors, see the Microsoft Cryptography API (CAPI) documentation in the MSDN library.

  Initializes a new instance of the class with the specified provider type code and name, and the specified container name.

  The provider type code that specifies the kind of provider to create.
  A provider name.
  A container name.
- Constructor
  2.0.0.0
  4.0.0.0

  You can use the container name to retrieve a key within that container.

  Specify a provider type by passing a numeric value that represents the desired provider type. The numeric values that represent the default provider types are defined in the WinCrypt.h header file:

  To specify a provider compatible with the algorithm, pass a value of 1to the parameter.

  To specify a provider compatible with the algorithm, pass a value of 13to the parameter.

  For information about other provider type values, see the field. For more information about the default provider types and their behaviors, see the Microsoft Cryptography API (CAPI) documentation in the MSDN library.

  Initializes a new instance of the class using a provider type, a provider name, a container name, access information, and a handle to an unmanaged smart card password dialog.

  The provider type code that specifies the kind of provider to create.
  A provider name.
  A container name.
  An object that represents access rights and audit rules for the container.
  A handle to the parent window for a smart card password dialog.
- Constructor
  2.0.0.0
  4.0.0.0

  You can use the container name to retrieve a key within that container.

  Specify a provider type by passing a numeric value that represents the desired provider type. The numeric values that represent the default provider types are defined in the WinCrypt.h header file:

  To specify a provider compatible with the algorithm, pass a value of 1to the parameter.

  To specify a provider compatible with the algorithm, pass a value of 13to the parameter.

  For information about other provider type values, see the field. For more information about the default provider types and their behaviors, see the Microsoft Cryptography API (CAPI) documentation in the MSDN library.

  Initializes a new instance of the class using a provider type, a provider name, a container name, access information, and a password associated with a smart card key.

  The provider type code that specifies the kind of provider to create.
  A provider name.
  A container name.
  An object that represents access rights and audit rules for a container.
  A password associated with a smart card key.
- Property
  2.0.0.0
  4.0.0.0
  System.Security.AccessControl.CryptoKeySecurity To be added.

  Use the property to specify a object that manages the creation of discretionary access control lists (DACLS) and system access control lists (SACLS) for a container.

  Gets or sets a object that represents access rights and audit rules for a container.

- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Security.Cryptography.CspProviderFlags To be added. To be added.

  Represents the flags for that modify the behavior of the cryptographic service provider (CSP).

- Field
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.String

  Use the field to specify a name for your key container. You can use the container name to retrieve the persisted key within that container.

  For more information about creating key containers, see How to: Store Asymmetric Keys in a Key Container.

  Represents the key container name for .

- Field
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32

  The field initializes the property when you initialize a object with a object.

  An exchange key is an asymmetric key pair used to encrypt session keys so that they can be safely stored and exchanged with other users. You can use the value (1) to specify an exchange key. This value corresponds to the AT_KEYEXCHANGE value used in the unmanaged Microsoft Cryptographic API (CAPI).

  A signature key is an asymmetric key pair used for authenticating digitally signed messages or files. You can use the value (2) to specify a signature key. This value corresponds to the AT_SIGNATURE value used in CAPI.

  By default, the field specifies an exchange key.

  Specifies whether an asymmetric key is created as a signature key or an exchange key.

- Property
  2.0.0.0
  4.0.0.0
  System.Security.SecureString To be added.

  Use the property to supply a password for a smart card key. When you specify a password using this property, a password dialog box will not be presented to the user.

  Gets or sets a password associated with a smart card key.

- Property
  2.0.0.0
  4.0.0.0
  System.IntPtr To be added.

  Use the property to specify a handle to the unmanaged parent window for a smart card password dialog box. When you specify a handle using this property, a smart card password dialog box will be presented to the user.

  You can avoid presenting a smart card password dialog box by explicitly specifying a password by using the property.

  Gets or sets a handle to the unmanaged parent window for a smart card password dialog box.

- Field
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.String

  See the Microsoft Cryptography API (CAPI) documentation in the MSDN library for details on provider names.

  Represents the provider name for .

- Field
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32

  Use the field to specify a provider type by passing a numeric value that represents that provider. The numeric values that represent the default provider types are defined in the WinCrypt.h header file:

  To specify a provider compatible with the class, pass a value of 1.

  To specify a provider compatible with the class, pass a value of 13.

  The following table lists the provider types and their corresponding numeric values defined in the WinCrypt.h header file.

  Provider Type

  Numeric Value

  PROV_RSA_FULL

  1

  PROV_RSA_SIG

  2

  PROV_DSS

  3

  PROV_FORTEZZA

  4

  PROV_MS_EXCHANGE

  5

  PROV_SSL

  6

  PROV_RSA_SCHANNEL

  12

  PROV_DSS_DH

  13

  PROV_EC_ECDSA_SIG

  14

  PROV_EC_ECNRA_SIG

  15

  PROV_EC_ECDSA_FULL

  16

  PROV_EC_ECNRA_FULL

  17

  PROV_DH_SCHANNEL

  18

  PROV_SPYRUS_LYNKS

  20

  PROV_RNG

  21

  PROV_INTEL_SEC

  22

  PROV_REPLACE_OWF

  23

  PROV_RSA_AES

  24

  For more information about the default provider types and their behaviors, see the Microsoft Cryptography API (CAPI) documentation in the MSDN library.

  Represents the provider type code for .