Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
NCryptAlgorithmName structure (ncrypt.h)
The NCryptAlgorithmName structure is used to contain information about a CNG algorithm.
Syntax
typedef struct _NCryptAlgorithmName {
LPWSTR pszName;
DWORD dwClass;
DWORD dwAlgOperations;
DWORD dwFlags;
} NCryptAlgorithmName;
Members
pszName
A pointer to a null-terminated Unicode string that contains the name of the algorithm. This can be one of the standard CNG Algorithm Identifiers or the identifier for another registered algorithm.
dwClass
A DWORD value that defines which algorithm class this algorithm belongs to. This can be one of the following values.
| Value | Meaning |
|---|---|
|
The algorithm belongs to the asymmetric encryption class of algorithms. |
|
The algorithm belongs to the secret agreement (Diffie-Hellman) class of algorithms. |
|
The algorithm belongs to the signature class of algorithms. |
dwAlgOperations
A DWORD value that defines which operational classes this algorithm belongs to. This can be a combination of one or more of the following values.
| Value | Meaning |
|---|---|
|
The algorithm is an asymmetric encryption algorithm. |
|
The algorithm is a secret agreement (Diffie-Hellman) algorithm. |
|
The algorithm is a digital signature algorithm. |
dwFlags
A set of flags that provide more information about the algorithm.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Header | ncrypt.h |
See also
Feedback
Was this page helpful?
