CryptographicPrivateKeyBlobType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the type of the private key contained in a buffer.
public enum class CryptographicPrivateKeyBlobType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class CryptographicPrivateKeyBlobType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum CryptographicPrivateKeyBlobType
var value = Windows.Security.Cryptography.Core.CryptographicPrivateKeyBlobType.pkcs8RawPrivateKeyInfo
Public Enum CryptographicPrivateKeyBlobType
- Inheritance
-
CryptographicPrivateKeyBlobType
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Fields
BCryptEccFullPrivateKey | 4 | The key is a BCrypt full elliptic curve cryptography (ECC) private key. |
BCryptPrivateKey | 2 | Microsoft private key format defined by Cryptography API: Next Generation (CNG). For examples, see the following CNG structures: |
Capi1PrivateKey | 3 | Microsoft private key format defined by the legacy Cryptography API (CAPI). For more information, see Base Provider Key BLOBs. |
Pkcs1RsaPrivateKey | 1 | The key is an RSA private key defined in the PKCS #1 standard. For more information, see the RSA Cryptography Specification in RFC 3347. |
Pkcs8RawPrivateKeyInfo | 0 | This is the default value. The private key is encoded as an ASN.1 PrivateKeyInfo type defined in the PKCS#8 standard. The private key information syntax is defined as follows in RFC 5208.
|
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för