For the szOID_NETSCAPE_CERT_TYPE extension, CryptEncodeObject, CryptEncodeObjectEx, CryptDecodeObject, or CryptDecodeObjectEx can be called with lpszStructType set to X509_BITS.
Its value is a bit string, as defined below.
The following details apply:
"2.16.840.1.113730.1.1"
pvStructInfo points to a CRYPT_BIT_BLOB structure.
The following bits are defined:
#define NETSCAPE_SSL_CLIENT_AUTH_CERT_TYPE 0x80
#define NETSCAPE_SSL_SERVER_AUTH_CERT_TYPE 0x40
#define NETSCAPE_SSL_CA_CERT_TYPE 0x04