Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The EncodedKey property retrieves a byte array that contains the public key. The byte array is represented by a Unicode-encoded string.
This property is read-only.
Syntax
HRESULT get_EncodedKey(
EncodingType Encoding,
BSTR *pValue
);
Parameters
Encoding
pValue
Return value
None
Remarks
Call the InitializeFromEncodedPublicKeyInfo method or the Initialize method to initialize the public key object before calling this property.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | certenroll.h |
| DLL | CertEnroll.dll |