WebProviderTokenRequest.GetApplicationTokenBindingKeyAsync 方法

定义

异步获取应用的令牌绑定密钥。

public:
 virtual IAsyncOperation<CryptographicKey ^> ^ GetApplicationTokenBindingKeyAsync(TokenBindingKeyType keyType, Uri ^ target) = GetApplicationTokenBindingKeyAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<CryptographicKey> GetApplicationTokenBindingKeyAsync(TokenBindingKeyType const& keyType, Uri const& target);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<CryptographicKey> GetApplicationTokenBindingKeyAsync(TokenBindingKeyType keyType, System.Uri target);
function getApplicationTokenBindingKeyAsync(keyType, target)
Public Function GetApplicationTokenBindingKeyAsync (keyType As TokenBindingKeyType, target As Uri) As IAsyncOperation(Of CryptographicKey)

参数

keyType
TokenBindingKeyType

要获取的密钥的类型。

target
Uri Uri

目标 URI。

返回

此方法完成后,它将返回加密密钥。

属性

适用于