IBinaryConverter interface

The IBinaryConverter interface contains general methods that enable you to create a Unicode-encoded string from a byte array, create a byte array from a Unicode-encoded string, and modify the type of Unicode encoding applied to a string. You can use this interface to represent a certificate BLOB as a printable string or to decode the string back into a certificate BLOB.


The IBinaryConverter interface has these methods.

Method Description
IBinaryConverter::StringToString Modifies the type of Unicode encoding applied to a string.
IBinaryConverter::StringToVariantByteArray Creates a byte array from a Unicode encoded string.
IBinaryConverter::VariantByteArrayToString Creates a Unicode encoded string from a byte array.


Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header certenroll.h

See Also

CertEnroll Interfaces