c++ Programming Glossary: publickeyinfo
Load an X509 PEM file into Windows CryptoApi http://stackoverflow.com/questions/1231178/load-an-x509-pem-file-into-windows-cryptoapi 2048 size_t derPubKeyLen 2048 CERT_PUBLIC_KEY_INFO publicKeyInfo int publicKeyInfoLen HANDLE hFile HCRYPTPROV hProv 0 HCRYPTKEY.. derPubKeyLen 2048 CERT_PUBLIC_KEY_INFO publicKeyInfo int publicKeyInfoLen HANDLE hFile HCRYPTPROV hProv 0 HCRYPTKEY hKey 0 Read the.. derPubKey derPubKeyLen CRYPT_ENCODE_ALLOC_FLAG NULL publicKeyInfo publicKeyInfoLen fprintf stderr CryptDecodeObjectEx 1 failed...
MS Crypto API behavior on Windows XP vs Vista/7 http://stackoverflow.com/questions/4495247/ms-crypto-api-behavior-on-windows-xp-vs-vista-7 t CryptStringToBinary.2 success. r n CERT_PUBLIC_KEY_INFO publicKeyInfo DWORD publicKeyInfoLen HCRYPTKEY hPublicKey if CryptDecodeObjectEx.. success. r n CERT_PUBLIC_KEY_INFO publicKeyInfo DWORD publicKeyInfoLen HCRYPTKEY hPublicKey if CryptDecodeObjectEx X509_ASN_ENCODING.. pBlob blobSize CRYPT_DECODE_ALLOC_FLAG NULL publicKeyInfo publicKeyInfoLen free pBlob CryptReleaseContext hProv 0 wprintf..
|