public final class KeyVaultCertificateIdentifier extends Object
KeyVaultCertificate
parsed from the certificate URL. You can use this information when
calling methods of CertificateClient
or CertificateAsyncClient
.Constructor and Description |
---|
KeyVaultCertificateIdentifier(String certificateId)
Create a new
KeyVaultCertificateIdentifier from a given certificate identifier. |
Modifier and Type | Method and Description |
---|---|
String |
getCertificateId()
Gets the key identifier used to create this object
|
String |
getName()
Gets the name of the certificate.
|
String |
getVaultUrl()
Gets the URL of the Key Vault.
|
String |
getVersion()
Gets the optional version of the certificate.
|
public KeyVaultCertificateIdentifier(String certificateId)
KeyVaultCertificateIdentifier
from a given certificate identifier.
Valid examples are:
certificateId
- The certificate identifier to extract information from.IllegalArgumentException
- If certificateId
is an invalid Key Vault Certificate identifier.NullPointerException
- If certificateId
is null
.public String getCertificateId()
public String getVaultUrl()
public String getName()
public String getVersion()
Copyright © 2021 Microsoft Corporation. All rights reserved.