CRYPT_CREDENTIALS structure (wincrypt.h)
The CRYPT_CREDENTIALS structure contains information about credentials that can be passed as optional input to a remote object retrieval function such as CryptRetrieveObjectByUrl or CryptGetTimeValidObject.
Syntax
typedef struct _CRYPT_CREDENTIALS {
DWORD cbSize;
LPCSTR pszCredentialsOid;
LPVOID pvCredentials;
} CRYPT_CREDENTIALS, *PCRYPT_CREDENTIALS;
Members
cbSize
The size in bytes of this structure.
pszCredentialsOid
A pointer to a null-terminated string that contains the type of credential object represented by the pvCredentials member.
This member can contain the following possible value.
Value | Meaning |
---|---|
|
The pvCredentials member contains a CRYPT_PASSWORD_CREDENTIALS structure that represents a user name and password combination. |
pvCredentials
A pointer to a structure as defined by the pszCredentialsOid member.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | wincrypt.h |