PyCRYPTPROV.CryptImportPublicKeyInfo

PyCRYPTKEY = CryptImportPublicKeyInfo(Info, CertEncodingType )

Imports another user's public key

Parameters

Info : dict

PyCERT_PUBLIC_KEY_INFO dictionary as returned by PyCRYPTPROV::CryptExportPublicKeyInfo

CertEncodingType=X509_ASN_ENCODING combined with PKCS_7_ASN_ENCODING : int

Specifies encoding for exported key info