Common Data Types BYTE A BYTE is an 8-bit value. This data type maps to the byte base type, as specified in section 4.2.9.5. This type is declared as follows: typedef byte BYTE; Common Structures This section defines the structures used by the Windows Client Certificate Enrollment Protocol. These structures are used when a certificate request is submitted to the server and as part of the server's response. Use of these structures is specified in section . All communications of between the client and server use the data structure (which also takes the acronym BLOB). The CERTTRANSBLOB data structure contains a length and a pointer to a byte array. The type of content, stored in the byte array buffer, depends on the particular call context. A BLOB contains any one of the following: CATRANSPROP: A structure used to return information for CA properties, as specified in section . CAINFO: A structure that contains information on the CA, as specified in section . An ASN.1 (as specified in )-encoded CMS (as specified in ), PKCS #10 (as specified in ), or CMC (as specified in ) request certificate submitted to the CA, as specified in section . An ASN.1 (as specified in [X690])-encoded CMS with a full certificate chain (as specified in [RFC3852]) or a CMC full PKI response (as specified in [RFC2797]) returned by the CA, as specified in section . An ASN.1 (as specified in [X690])-encoded X.509 certificate returned by the CA, as specified in section . A Unicode (as specified in ) disposition text message returned by the CA, as specified in section . Data type definitions of HRESULT, BOOL, BYTE, LONG, wchar_t, and DWORD, used in the following sections, are as specified in , , and . CACERTBLOB The CACERTBLOB construct consists of serialized elements. Each element is a data structure consisting of a header and its The element header consists of the following fields. Field Data type Description Element type DWORD Identifies the type of the element. Encoding type Specifies the encoding used. Length DWORD Specifies the length of the element. The following table defines the element types that are possible.
Common Data Types BYTE A BYTE is an 8-bit value. This data type maps to the byte base type, as specified in section 4.2.9.5. This type is declared as follows: typedef byte BYTE; Common Structures This section defines the structures used by the Windows Client Certificate Enrollment Protocol. These structures are used when a certificate request is submitted to the server and as part of the server's response. Use of these structures is specified in section . All communications of between the client and server use the data structure (which also takes the acronym BLOB). The CERTTRANSBLOB data structure contains a length and a pointer to a byte array. The type of content, stored in the byte array buffer, depends on the particular call context. A BLOB contains any one of the following: CATRANSPROP: A structure used to return information for CA properties, as specified in section . CAINFO: A structure that contains information on the CA, as specified in section . An ASN.1 (as specified in )-encoded CMS (as specified in ), PKCS #10 (as specified in ), or CMC (as specified in ) request certificate submitted to the CA, as specified in section . An ASN.1 (as specified in [X690])-encoded CMS with a full certificate chain (as specified in [RFC3852]) or a CMC full PKI response (as specified in [RFC2797]) returned by the CA, as specified in section . An ASN.1 (as specified in [X690])-encoded X.509 certificate returned by the CA, as specified in section . A Unicode (as specified in ) disposition text message returned by the CA, as specified in section . Data type definitions of HRESULT, BOOL, BYTE, LONG, wchar_t, and DWORD, used in the following sections, are as specified in , , and . CACERTBLOB The CACERTBLOB construct consists of serialized elements. Each element is a data structure consisting of a header and its The element header consists of the following fields. Field Data type Description Element type DWORD Identifies the type of the element. Encoding type Specifies the encoding used. Length DWORD Specifies the length of the element. The following table defines the element types that are possible.