CRYPT_ENCRYPTED_PRIVATE_KEY_INFO structure (wincrypt.h)
[The CRYPT_ENCRYPTED_PRIVATE_KEY_INFO structure is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
The CRYPT_ENCRYPTED_PRIVATE_KEY_INFO structure contains the information in a PKCS #8 EncryptedPrivateKeyInfo ASN.1 type found in the PKCS #8 standard.
Syntax
typedef struct _CRYPT_ENCRYPTED_PRIVATE_KEY_INFO {
CRYPT_ALGORITHM_IDENTIFIER EncryptionAlgorithm;
CRYPT_DATA_BLOB EncryptedPrivateKey;
} CRYPT_ENCRYPTED_PRIVATE_KEY_INFO, *PCRYPT_ENCRYPTED_PRIVATE_KEY_INFO;
Members
EncryptionAlgorithm
A CRYPT_ALGORITHM_IDENTIFIER structure that indicates the algorithm used for encryption.
EncryptedPrivateKey
A CRYPT_DATA_BLOB structure that contains the encrypted private key data.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | wincrypt.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for