Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets a security token from the CardSpace system.
HRESULT
__stdcall GetToken(
__in DWORD cPolicyChain,
__in_ecount( cPolicyChain ) PPOLICY_ELEMENT pPolicyChain,
__deref_out PGENERIC_XML_TOKEN* securityToken,
__deref_out PINFORMATIONCARD_CRYPTO_HANDLE* phProofTokenCrypto );
Parameters
| Parameter | Description |
|---|---|
cPolicyChain |
The number of PolicyChain elements in the array pointed to by pPolicyChain. |
pPolicyChain |
Pointer to an array of POLICY_ELEMENT, each of which contains the following:
The addresses should be valid WS-Addressing Endpoint references in XML. |
securityToken |
Pointer to the security token that is returned. When you have finished using the token, call FreeToken to free the token. |
phProofTokenCrypto |
Handle to the proof token, which can be later used for proof of possession. This handle is an INFORMATIONCARD_CRYPTO_HANDLE of type Asymmetric or Symmetric. If the handle type is Asymmetric, it can be passed to the following functions: If the handle type is Symmetric, it can be passed to the following functions: When you have finished using this handle, close it using the CloseCryptoHandle function. |
Property Value/Return Value
HRESULT
See Also
Reference
Concepts
.gif)
Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.