ncrypt: Add NCryptImportKey stub.
Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9ea80d88b9
commit
94e38a6126
|
@ -109,6 +109,16 @@ SECURITY_STATUS WINAPI NCryptGetProperty(NCRYPT_HANDLE object, const WCHAR *prop
|
||||||
return NTE_NOT_SUPPORTED;
|
return NTE_NOT_SUPPORTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SECURITY_STATUS WINAPI NCryptImportKey(NCRYPT_PROV_HANDLE provider, NCRYPT_KEY_HANDLE decrypt_key,
|
||||||
|
const WCHAR *type, NCryptBufferDesc *params, NCRYPT_KEY_HANDLE *key,
|
||||||
|
PBYTE data, DWORD datasize, DWORD flags)
|
||||||
|
{
|
||||||
|
FIXME("(0x%lx, 0x%lx, %s, %p, %p, %p, %u, 0x%08x): stub\n", provider, decrypt_key,
|
||||||
|
wine_dbgstr_w(type), params,
|
||||||
|
key, data, datasize, flags);
|
||||||
|
return NTE_NOT_SUPPORTED;
|
||||||
|
}
|
||||||
|
|
||||||
SECURITY_STATUS WINAPI NCryptOpenKey(NCRYPT_PROV_HANDLE provider, NCRYPT_KEY_HANDLE *key,
|
SECURITY_STATUS WINAPI NCryptOpenKey(NCRYPT_PROV_HANDLE provider, NCRYPT_KEY_HANDLE *key,
|
||||||
const WCHAR *name, DWORD keyspec, DWORD flags)
|
const WCHAR *name, DWORD keyspec, DWORD flags)
|
||||||
{
|
{
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
@ stdcall NCryptFreeObject(long)
|
@ stdcall NCryptFreeObject(long)
|
||||||
@ stdcall NCryptGetProperty(ptr wstr ptr long ptr long)
|
@ stdcall NCryptGetProperty(ptr wstr ptr long ptr long)
|
||||||
@ stub NCryptGetProtectionDescriptorInfo
|
@ stub NCryptGetProtectionDescriptorInfo
|
||||||
@ stub NCryptImportKey
|
@ stdcall NCryptImportKey(long long wstr ptr ptr ptr long long)
|
||||||
@ stub NCryptIsAlgSupported
|
@ stub NCryptIsAlgSupported
|
||||||
@ stub NCryptIsKeyHandle
|
@ stub NCryptIsKeyHandle
|
||||||
@ stub NCryptKeyDerivation
|
@ stub NCryptKeyDerivation
|
||||||
|
|
|
@ -39,6 +39,18 @@ typedef struct _NCryptAlgorithmName {
|
||||||
DWORD dwFlags;
|
DWORD dwFlags;
|
||||||
} NCryptAlgorithmName;
|
} NCryptAlgorithmName;
|
||||||
|
|
||||||
|
typedef struct _NCryptBuffer {
|
||||||
|
ULONG cbBuffer;
|
||||||
|
ULONG BufferType;
|
||||||
|
PVOID pvBuffer;
|
||||||
|
} NCryptBuffer, *PNCryptBuffer;
|
||||||
|
|
||||||
|
typedef struct _NCryptBufferDesc {
|
||||||
|
ULONG ulVersion;
|
||||||
|
ULONG cBuffers;
|
||||||
|
PNCryptBuffer pBuffers;
|
||||||
|
} NCryptBufferDesc, *PNCryptBufferDesc;
|
||||||
|
|
||||||
typedef struct NCryptKeyName {
|
typedef struct NCryptKeyName {
|
||||||
LPWSTR pszName;
|
LPWSTR pszName;
|
||||||
LPWSTR pszAlgid;
|
LPWSTR pszAlgid;
|
||||||
|
|
Loading…
Reference in New Issue