const P6UINT32 P6R::KMIP_CMP_TTLV = 0x00000000 |
P6R's Compatibility Bit Mask.
KMIP_CMP_TTLV - raw TTLV over TLS (if KMIP_CMP_HTTPSPOST KMIP_CMP_MSGXML or KMIP_CMP_MSGJSON is not specified, this is the default).
KMIP_CMP_HTTPSPOST - communication to the KMIP server is via the HTTP over TLS
KMIP_CMP_MSGXML - use XML Message Encoding instead of TTLV (since we send XML encoded messages via HTTPS setting this bit implies the KMIP_CMP_HTTPSPOST bit as well)
KMIP_CMP_MSGJSON - use JSON Message Encoding instead of TTLV (since we send JSON encoded messages via HTTPS setting this bit implies the KMIP_CMP_HTTPSPOST bit as well)
KMIP_CMP_DESPARITY - ensure that any DES and Triple DES keys, returned from the server, contain parity bits, adding them if necessary. Note that the default behavior is to leave the keys as is returned by the server. Thus if this option is turned on a DES key of 56 bits is converted to 64 bits, a Triple DES key of 112 bits is concerted to 128 bits, and a Triple DES key of 168 bits is converted to 192 bits.
KMIP_CMP_JSON_SOLIDUS - enable escaping solidus (i.e., "/" convert to "\/") in JSON strings. This flag is only valid when KMIP_CMP_MSGJSON is also used. The default action is to not escape the solidus character.