Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
CRYPTCATATTRIBUTE structure (mscat.h)
[The CRYPTCATATTRIBUTE structure is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
The CRYPTCATATTRIBUTE structure defines a catalog attribute. This structure is used by the CryptCATEnumerateAttr and CryptCATEnumerateCatAttr functions.
Syntax
typedef struct CRYPTCATATTRIBUTE_ {
DWORD cbStruct;
LPWSTR pwszReferenceTag;
DWORD dwAttrTypeAndAction;
DWORD cbValue;
BYTE *pbValue;
DWORD dwReserved;
} CRYPTCATATTRIBUTE;
Members
cbStruct
The size, in bytes, of this structure.
pwszReferenceTag
A pointer to a null-terminated string that contains the reference tag value.
dwAttrTypeAndAction
Bitwise combination of the following flags.
| Value | Meaning |
|---|---|
|
The attribute is authenticated. |
|
The attribute is unauthenticated. |
|
The attribute is an ASCII string. |
|
The attribute is a cryptographic object identifier (OID). |
|
The attribute contains simple ASCII characters that should not be decoded. |
|
The attribute is in base 64 format. |
|
The attribute replaces the value for an existing attribute. |
cbValue
Number of bytes used by pbValue.
pbValue
A pointer to the encoded bytes.
dwReserved
Reserved; do not use.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Header | mscat.h |
See also
Feedback
Was this page helpful?
