Expand Minimize

IEnroll4::AddNameValuePairToSignatureWStr method

[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

Name [in]

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

Value [in]

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP

End of server support

Windows Server 2003

Header

Xenroll.h

Library

Uuid.lib

DLL

Xenroll.dll

IID

IID_IEnroll4 is defined as f8053fe5-78f4-448f-a0db-41d61b73446b

See also

IEnroll4

 

 

Community Additions

ADD
Show:
© 2014 Microsoft