Share via


SERVICEIDENTITY2

Contains the information that is required to identify a remote endpoint. It contains the URL of that endpoint, the URL of the policy describing how to use that endpoint, and the security identity of the endpoint (a chain of certificates). Unlike SERVICEIDENTITY, SERVICEIDENTITY2 can process complete certificate chains and supports disabling SSL in CardSpace.

typedef struct _SERVICEIDENTITY2{
        BSTR                           Url;
        BSTR                           PolicyUrl;
        DWORD                          IdentityType;
        SAFEARRAY(SAFEARRAY(BYTE))     Identity;
    }SERVICEIDENTITY, *PSERVICEIDENTITY2;

Parameters

Member Description

Url

Remote address that is used to access the service represented by this structure.

PolicyUrl

The URL of the policy document that describes the requirements and protocols that are used by this endpoint.

IdentityType

DWORD that specifies the type of security identity the endpoint uses. Valid Values are as follows:

SERVICEIDENTITY_CERTIFICATE. When specified, the Identity pointer will point to the serialized bytes of an individual leaf certificate.

2. When specified, the Identity pointer will point to a complete certificate chain, encoded in raw ASN format.

3. When specified, SSL support in CardSpace has been disabled, and the Identity pointer will be set to null.

Identity

A pointer to a SAFEARRAY of SAFEARRAYs of bytes containing the serialized form of either an individual identity certificate, a chain of identity certificate, or null. See IdentityType.

See Also

Reference

REQUESTEDTOKENPOLICY2

Copyright © 2007 by Microsoft Corporation. All rights reserved.