CryptExportKey

Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
nothrow extern (Windows)
BOOL
CryptExportKey
(
HCRYPTKEY
,
HCRYPTKEY
,
DWORD
,
DWORD
,
PBYTE
,
PDWORD
)

Meta