你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

KeyBundle 类

  • java.lang.Object
    • com.microsoft.azure.keyvault.models.KeyBundle

public class KeyBundle

由 WebKey 及其属性组成的 KeyBundle。

方法摘要

修饰符和类型 方法和描述
KeyAttributes attributes()

获取属性值。

JsonWebKey key()

获取密钥值。

KeyIdentifier keyIdentifier()

密钥标识符。

Boolean managed()

获取托管值。

Map<String, String> tags()

获取标记值。

String toString()
KeyBundle withAttributes(KeyAttributes attributes)

设置属性值。

KeyBundle withKey(JsonWebKey key)

设置键值。

KeyBundle withTags(Map<String, String> tags)

设置标记值。

方法详细信息

attributes

public KeyAttributes attributes()

获取属性值。

Returns:

特性值

key

public JsonWebKey key()

获取密钥值。

Returns:

键值

keyIdentifier

public KeyIdentifier keyIdentifier()

密钥标识符。

Returns:

密钥的标识符

managed

public Boolean managed()

获取托管值。

Returns:

托管值

tags

public Map tags()

获取标记值。

Returns:

标记值

toString

public String toString()

withAttributes

public KeyBundle withAttributes(KeyAttributes attributes)

设置属性值。

Parameters:

attributes - 要设置的属性值

Returns:

KeyBundle 对象本身。

withKey

public KeyBundle withKey(JsonWebKey key)

设置键值。

Parameters:

key - 要设置的键值

Returns:

KeyBundle 对象本身。

withTags

public KeyBundle withTags(Map tags)

设置标记值。

Parameters:

tags - 要设置的标记值

Returns:

KeyBundle 对象本身。

适用于