ReactOS 0.4.16-dev-91-g764881a
|
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "wincrypt.h"
#include "wine/debug.h"
#include "wine/unicode.h"
Go to the source code of this file.
Macros | |
#define | CERT_HEADER "-----BEGIN CERTIFICATE-----" |
#define | CERT_HEADER_START "-----BEGIN " |
#define | CERT_DELIMITER "-----" |
#define | CERT_TRAILER "-----END CERTIFICATE-----" |
#define | CERT_TRAILER_START "-----END " |
#define | CERT_REQUEST_HEADER "-----BEGIN NEW CERTIFICATE REQUEST-----" |
#define | CERT_REQUEST_TRAILER "-----END NEW CERTIFICATE REQUEST-----" |
#define | X509_HEADER "-----BEGIN X509 CRL-----" |
#define | X509_TRAILER "-----END X509 CRL-----" |
#define | BASE64_DECODE_PADDING 0x100 |
#define | BASE64_DECODE_WHITESPACE 0x200 |
#define | BASE64_DECODE_INVALID 0x300 |
Typedefs | |
typedef BOOL(* | BinaryToStringAFunc) (const BYTE *pbBinary, DWORD cbBinary, DWORD dwFlags, LPSTR pszString, DWORD *pcchString) |
typedef BOOL(* | BinaryToStringWFunc) (const BYTE *pbBinary, DWORD cbBinary, DWORD dwFlags, LPWSTR pszString, DWORD *pcchString) |
typedef LONG(* | StringToBinaryAFunc) (LPCSTR pszString, DWORD cchString, BYTE *pbBinary, DWORD *pcbBinary, DWORD *pdwSkip, DWORD *pdwFlags) |
typedef LONG(* | StringToBinaryWFunc) (LPCWSTR pszString, DWORD cchString, BYTE *pbBinary, DWORD *pcbBinary, DWORD *pdwSkip, DWORD *pdwFlags) |
Variables | |
static const WCHAR | CERT_HEADER_W [] |
static const WCHAR | CERT_HEADER_START_W [] |
static const WCHAR | CERT_DELIMITER_W [] |
static const WCHAR | CERT_TRAILER_W [] |
static const WCHAR | CERT_TRAILER_START_W [] |
static const WCHAR | CERT_REQUEST_HEADER_W [] |
static const WCHAR | CERT_REQUEST_TRAILER_W [] |
static const WCHAR | X509_HEADER_W [] |
static const WCHAR | X509_TRAILER_W [] |
static const char | b64 [] |
|
static |
Definition at line 719 of file base64.c.
Referenced by CryptStringToBinaryA().
|
static |
Definition at line 930 of file base64.c.
Referenced by CryptStringToBinaryW().
|
static |
Definition at line 686 of file base64.c.
Referenced by Base64AnyToBinaryA(), CryptStringToBinaryA(), and DecodeAnyA().
|
static |
Definition at line 897 of file base64.c.
Referenced by Base64AnyToBinaryW(), CryptStringToBinaryW(), and DecodeAnyW().
|
static |
Definition at line 697 of file base64.c.
Referenced by CryptStringToBinaryA().
|
static |
Definition at line 908 of file base64.c.
Referenced by CryptStringToBinaryW().
|
static |
Definition at line 547 of file base64.c.
Referenced by Base64ToBinaryA(), and Base64ToBinaryW().
|
static |
Definition at line 629 of file base64.c.
Referenced by Base64AnyToBinaryA(), Base64WithHeaderAndTrailerToBinaryA(), CryptStringToBinaryA(), and DecodeAnyA().
|
static |
Definition at line 840 of file base64.c.
Referenced by Base64AnyToBinaryW(), Base64WithHeaderAndTrailerToBinaryW(), CryptStringToBinaryW(), and DecodeAnyW().
|
static |
Definition at line 635 of file base64.c.
Referenced by Base64HeaderToBinaryA(), Base64RequestHeaderToBinaryA(), and Base64X509HeaderToBinaryA().
|
static |
Definition at line 846 of file base64.c.
Referenced by Base64HeaderToBinaryW(), Base64RequestHeaderToBinaryW(), and Base64X509HeaderToBinaryW().
|
static |
Definition at line 708 of file base64.c.
Referenced by CryptStringToBinaryA().
|
static |
Definition at line 919 of file base64.c.
Referenced by CryptStringToBinaryW().
|
static |
Definition at line 176 of file base64.c.
Referenced by CryptBinaryToStringA().
|
static |
Definition at line 396 of file base64.c.
Referenced by CryptBinaryToStringW().
BOOL WINAPI CryptBinaryToStringA | ( | const BYTE * | pbBinary, |
DWORD | cbBinary, | ||
DWORD | dwFlags, | ||
LPSTR | pszString, | ||
DWORD * | pcchString | ||
) |
Definition at line 253 of file base64.c.
Referenced by encodeAndCompareBase64_A(), save_base64(), and test_CryptBinaryToString().
BOOL WINAPI CryptBinaryToStringW | ( | const BYTE * | pbBinary, |
DWORD | cbBinary, | ||
DWORD | dwFlags, | ||
LPWSTR | pszString, | ||
DWORD * | pcchString | ||
) |
Definition at line 473 of file base64.c.
Referenced by encode_compare_base64_W(), and test_CryptBinaryToString().
BOOL WINAPI CryptStringToBinaryA | ( | LPCSTR | pszString, |
DWORD | cchString, | ||
DWORD | dwFlags, | ||
BYTE * | pbBinary, | ||
DWORD * | pcbBinary, | ||
DWORD * | pdwSkip, | ||
DWORD * | pdwFlags | ||
) |
Definition at line 772 of file base64.c.
Referenced by CRYPT_QueryContextObject(), CRYPT_QueryMessageObject(), decode_base64_blob(), decodeAndCompareBase64_A(), decodeBase64WithLenFmt(), import_base64_certs_from_fp(), and testStringToBinaryA().
BOOL WINAPI CryptStringToBinaryW | ( | LPCWSTR | pszString, |
DWORD | cchString, | ||
DWORD | dwFlags, | ||
BYTE * | pbBinary, | ||
DWORD * | pcbBinary, | ||
DWORD * | pdwSkip, | ||
DWORD * | pdwFlags | ||
) |
Definition at line 983 of file base64.c.
Referenced by CRYPT_QueryMessageObject(), and decodeBase64WithLenFmtW().
|
static |
Definition at line 756 of file base64.c.
Referenced by CryptStringToBinaryA().
|
static |
Definition at line 967 of file base64.c.
Referenced by CryptStringToBinaryW().
Definition at line 520 of file base64.c.
Referenced by Base64ToBinary().
|
static |
Definition at line 732 of file base64.c.
Referenced by CryptStringToBinaryA(), and DecodeAnyA().
|
static |
Definition at line 943 of file base64.c.
Referenced by CryptStringToBinaryW(), and DecodeAnyW().
|
static |
Definition at line 96 of file base64.c.
Referenced by BinaryToBase64A().
|
static |
Definition at line 316 of file base64.c.
Referenced by BinaryToBase64W().
|
static |
Definition at line 75 of file base64.c.
Referenced by CryptBinaryToStringA().
|
static |
Definition at line 296 of file base64.c.
Referenced by CryptBinaryToStringW().
WINE_DEFAULT_DEBUG_CHANNEL | ( | crypt | ) |
Definition at line 67 of file base64.c.
Referenced by encodeBase64A(), encodeBase64W(), setpixel_64bppARGB(), and setpixel_64bppPARGB().
Definition at line 47 of file base64.c.
Referenced by Base64WithHeaderAndTrailerToBinaryW().
Definition at line 45 of file base64.c.
Referenced by Base64WithHeaderAndTrailerToBinaryW().
Definition at line 42 of file base64.c.
Referenced by BinaryToBase64W().
Definition at line 54 of file base64.c.
Referenced by BinaryToBase64W().
Definition at line 57 of file base64.c.
Referenced by BinaryToBase64W().
Definition at line 52 of file base64.c.
Referenced by Base64WithHeaderAndTrailerToBinaryW().
Definition at line 49 of file base64.c.
Referenced by BinaryToBase64W().
Definition at line 60 of file base64.c.
Referenced by BinaryToBase64W().
Definition at line 63 of file base64.c.
Referenced by BinaryToBase64W().