If pszString is NULL, the function calculates the length of the return string (including the terminating null character) in TCHARs and returns it in this parameter. The function will place the required number of characters, including the terminating NULL character, in the value pointed to by pcchString.Ī pointer to a DWORD variable that contains the size, in TCHARs, of the pszString buffer. To calculate the number of characters that must be allocated to hold the returned string, set this parameter to NULL. The default behavior is to use a CR/LF pair (0x0D/0x0A) to represent a new line.Ī pointer to a buffer that receives the converted string. Only use the line feed (LF) character (0x0A) for a new line. The default behavior is to use a carriage return/line feed (CR/LF) pair (0x0D/0x0A) to represent a new line. Valueĭo not append any new line characters to the encoded string. In addition to the values above, one or more of the following values can be specified to modify the behavior of the function. Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not supported. Use this flag to enforce complete decoding of the BLOB. In this case, the rest of the text is ignored. Some ASN.1 binary BLOBS can have the first few bytes of the BLOB incorrectly interpreted as Base64 text. Windows Server 2003 and Windows XP: This value is not supported.Įnforce strict decoding of ASN.1 text formats. Hexadecimal, with ASCII character and address display. Hexadecimal, with ASCII character display.ĬRYPT_STRING_BASE64X509CRLHEADER 0x00000009īase64, with X.509 CRL beginning and ending headers. Valueīase64, with certificate beginning and ending headers.ĬRYPT_STRING_BASE64REQUESTHEADER 0x00000003īase64, with request beginning and ending headers. This parameter can be one of the following values. Specifies the format of the resulting formatted string. The number of elements in the pbBinary array. Syntax BOOL CryptBinaryToStringA(Ī pointer to the array of bytes to be converted into a string. The CryptBinaryToString function converts an array of bytes into a formatted string.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |