KeyIdentifier Class

public class KeyIdentifier extends ObjectIdentifier

The Key Vault key identifier.

Constructor Summary

Constructor Description
KeyIdentifier(String identifier)

Constructor.

KeyIdentifier(String vault, String name)

Constructor.

KeyIdentifier(String vault, String name, String version)

Constructor.

Method Summary

Modifier and Type Method and Description
boolean isKeyIdentifier(String identifier)

Verifies whether the identifier belongs to a key vault key.

Inherited Members

Constructor Details

KeyIdentifier

public KeyIdentifier(String identifier)

Constructor.

Parameters:

identifier - the key vault key identifier.

KeyIdentifier

public KeyIdentifier(String vault, String name)

Constructor.

Parameters:

vault - the vault url.
name - the name of key.

KeyIdentifier

public KeyIdentifier(String vault, String name, String version)

Constructor.

Parameters:

vault - the vault url.
name - the name of key.
version - the key version.

Method Details

isKeyIdentifier

public static boolean isKeyIdentifier(String identifier)

Verifies whether the identifier belongs to a key vault key.

Parameters:

identifier - the key vault key identifier.

Returns:

true if the identifier belongs to a key vault key. False otherwise.

Applies to