IEnroll::AddNameValuePairToSignatureWStr method (xenroll.h)

[This method is no longer available for use as of Windows Server 2008 and Windows Vista.]

The AddNameValuePairToSignatureWStr method adds the authenticated name-value pair of an attribute to the request. The certification authority (CA) interprets the meaning of the name-value pair. This method was first defined in the IEnroll2 interface.

Syntax

HRESULT AddNameValuePairToSignatureWStr(
  [in] LPWSTR Name,
  [in] LPWSTR Value
);

Parameters

[in] Name

A null-terminated Unicode string that contains the name of the attribute, such as "2.5.4.6", for the country/region name.

[in] Value

A null-terminated Unicode string that contains the value of the attribute, such as "US" or "DomainName\UserID".

Return value

The return value is an HRESULT, with S_OK returned if the call is successful.

Remarks

The AddNameValuePairToSignatureWStr method is used to add attributes to the request.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header xenroll.h
Library Uuid.lib
DLL Xenroll.dll

See also

IEnroll

IEnroll4