X509PrivateKeyBuilder Properties |
The X509PrivateKeyBuilder type exposes the following members.
Name | Description | |
---|---|---|
![]() | Exportable |
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.
|
![]() | KeyContainerName |
Gets or sets key container name that is used to store the key material within key provider.
|
![]() | KeyLength |
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.
|
![]() | KeyProtection |
Gets or sets private key protection options when the key is accessded.
|
![]() | KeySpec |
Gets or sets a value that identifies whether a private key can be used for signing, or encryption, or both.
|
![]() | MachineContext |
Gets or sets the value that indicates whether the key is stored in machine or current user context.
|
![]() | ProviderName |
Gets or sets a legacy cryptographic service provider (CSP) or CNG key storage provider (KSP).
|
![]() | ProviderType |
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.
|
![]() | PublicKeyAlgorithm |
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).
|
![]() | SecurityDescriptor |
Gets or sets an access control list to private key in a SDDL form.
|