Class KeyVaultCertificate
java.lang.Object
com.azure.security.keyvault.certificates.models.KeyVaultCertificate
- Direct Known Subclasses:
KeyVaultCertificateWithPolicy
Represents a certificate with all of its properties.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getCer()
Get the cer content of the certificategetId()
Get the certificate identifiergetKeyId()
Get the key id of the certificategetName()
Get the certificate nameGet the certificate properties.Get the secret id of the certificatesetProperties
(CertificateProperties properties) Set the certificate properties
-
Method Details
-
getProperties
Get the certificate properties.- Returns:
- the certificate properties.
-
setProperties
Set the certificate properties- Parameters:
properties
- the certificate properties- Returns:
- the updated certificate object itself.
- Throws:
NullPointerException
- ifcertificateProperties
is null
-
getId
Get the certificate identifier- Returns:
- the certificate identifier
-
getName
Get the certificate name- Returns:
- the certificate name
-
getKeyId
Get the key id of the certificate- Returns:
- the key Id.
-
getSecretId
Get the secret id of the certificate- Returns:
- the key Id.
-
getCer
public byte[] getCer()Get the cer content of the certificate- Returns:
- the cer content.
-