Skip to content

Latest commit

 

History

History
92 lines (67 loc) · 3.59 KB

ns-wincrypt-cert_name_value.md

File metadata and controls

92 lines (67 loc) · 3.59 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:wincrypt._CERT_NAME_VALUE
CERT_NAME_VALUE (wincrypt.h)
Contains a relative distinguished name (RDN) attribute value.
*PCERT_NAME_VALUE
CERT_NAME_VALUE
CERT_NAME_VALUE structure [Security]
PCERT_NAME_VALUE
PCERT_NAME_VALUE structure pointer [Security]
_crypto2_cert_name_value
security.cert_name_value
wincrypt/CERT_NAME_VALUE
wincrypt/PCERT_NAME_VALUE
security\cert_name_value.htm
security
9f4ba546-7881-4827-b8f5-c3dd8c54ea8b
12/05/2018
*PCERT_NAME_VALUE, CERT_NAME_VALUE, CERT_NAME_VALUE structure [Security], PCERT_NAME_VALUE, PCERT_NAME_VALUE structure pointer [Security], _crypto2_cert_name_value, security.cert_name_value, wincrypt/CERT_NAME_VALUE, wincrypt/PCERT_NAME_VALUE
wincrypt.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
CERT_NAME_VALUE, *PCERT_NAME_VALUE
19H1
_CERT_NAME_VALUE
wincrypt/_CERT_NAME_VALUE
PCERT_NAME_VALUE
wincrypt/PCERT_NAME_VALUE
CERT_NAME_VALUE
wincrypt/CERT_NAME_VALUE
c++
APIRef
kbSyntax
HeaderDef
Wincrypt.h
CERT_NAME_VALUE

CERT_NAME_VALUE structure

-description

The CERT_NAME_VALUE structure contains a relative distinguished name (RDN) attribute value. It is like the CERT_RDN_ATTR structure, except that it does not include the object identifier member that is a member of CERT_RDN_ATTR. As in CERT_RDN_ATTR, the interpretation of the Value member depends on dwValueType.

-struct-fields

-field dwValueType

Indicates the interpretation of the Value member. For documentation on possible values of dwValueType, see CERT_RDN_ATTR.

-field Value

CRYPT_INTEGER_BLOB structure that contains the RDN attribute. The cbData member of Value is the length, in bytes, of the pbData member. It is not the number of elements in the pbData string.

For example, a DWORD is 32 bits or 4 bytes long. If the pbData member of Value is a DWORD array, the cbData member of Value would be four times the number of DWORD elements in the array. A short data type is 16 bits or 2 bytes long. If the pbData member is an array of short data types, the cbData member must be two times the length of the array.

The pbData member of Value can be a null-terminated array of 8-bit or 16-bit characters or a fixed-length array of elements. If dwValueType is set to CERT_RDN_ENCODED_BLOB, pbData is encoded.

-see-also

CERT_RDN

CERT_RDN_ATTR

CRYPT_INTEGER_BLOB

CertRDNValueToStr