Share via


Fonctions d’assistance (API d’inscription de certificat)

Chacune des sections suivantes décrit une fonction exportée par Xenroll.dll. Chaque section explique également comment utiliser CertEnroll.dll pour remplacer la fonction ou indique qu’aucun mappage entre les deux bibliothèques n’existe.

binaryBlobToString

La fonction binaryBlobToString dans Xenroll.dll convertit un tableau d’octets en chaîne.

À l’aide de CertEnroll.dll, vous pouvez appeler la méthode VariantByteArrayToString sur l’interface IBinaryConverter .

stringToBinaryBlob

La fonction stringToBinaryBlob dans Xenroll.dll convertit une chaîne en tableau d’octets.

À l’aide de CertEnroll.dll, vous pouvez appeler la méthode StringToVariantByteArray sur l’interface IBinaryConverter .

Mappage de Xenroll.dll à CertEnroll.dll

IBinaryConverter