Click or drag to resize

X509PrivateKeyBuilder Properties

The X509PrivateKeyBuilder type exposes the following members.

Properties
  NameDescription
Public propertyExportable
Gets or sets the flag that indicates whether the private key is exportable or not. For hardware providers, this flag is set to False and cannot be modified.
Public propertyKeyContainerName
Gets or sets key container name that is used to store the key material within key provider.
Public propertyKeyLength
Gets or sets asymmetric public key length in bits. For elliptic curve cryptography (ECC), this member is automatically populated from PublicKeyAlgorithm member value, because ECC curve includes key length.
Public propertyKeyProtection
Gets or sets private key protection options when the key is accessded.
Public propertyKeySpec
Gets or sets a value that identifies whether a private key can be used for signing, or encryption, or both.
Public propertyMachineContext
Gets or sets the value that indicates whether the key is stored in machine or current user context.
Public propertyProviderName
Gets or sets a legacy cryptographic service provider (CSP) or CNG key storage provider (KSP).
Public propertyProviderType
Gets provider type. Provider type is cryptographic service provider family and is used only with legacy CSP. This member is automatically populated after invoking Create method.
Public propertyPublicKeyAlgorithm
Gets or sets public key algorithm. For CNG keys, key and curve name must be used. For example, "ECDSA_P256", "ECDH_brainpoolP320r1". When not set, default key algorithm for specified provider is used and depends on a particular cryptographic service provider (CSP or KSP).
Public propertySecurityDescriptor
Gets or sets an access control list to private key in a SDDL form.
Top
See Also