Package com.microsoft.azure.keyvault
Class KeyIdentifier
- java.lang.Object
-
- com.microsoft.azure.keyvault.ObjectIdentifier
-
- com.microsoft.azure.keyvault.KeyIdentifier
-
public final class KeyIdentifier extends ObjectIdentifier
The Key Vault key identifier.
-
-
Field Summary
-
Fields inherited from class com.microsoft.azure.keyvault.ObjectIdentifier
baseIdentifier, identifier, name, vault, version
-
-
Constructor Summary
Constructors Constructor Description KeyIdentifier(String identifier)
Constructor.KeyIdentifier(String vault, String name)
Constructor.KeyIdentifier(String vault, String name, String version)
Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isKeyIdentifier(String identifier)
Verifies whether the identifier belongs to a key vault key.-
Methods inherited from class com.microsoft.azure.keyvault.ObjectIdentifier
baseIdentifier, getFullAuthority, identifier, isObjectIdentifier, name, toString, vault, verifyNonEmpty, version
-
-
-
-
Constructor Detail
-
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.
-
KeyIdentifier
public KeyIdentifier(String identifier)
Constructor.- Parameters:
identifier
- the key vault key identifier.
-
-
Method Detail
-
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.
-
-