KeyVaultCertificate Class
- java.
lang. Object - com.
azure. security. keyvault. certificates. models. KeyVaultCertificate
- com.
Implements
public class KeyVaultCertificate
implements JsonSerializable<KeyVaultCertificate>
Represents a certificate with all of its properties.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Key |
fromJson(JsonReader jsonReader)
Reads a JSON stream into a KeyVaultCertificate. |
byte[] |
getCer()
Get the cer content of the certificate |
String |
getId()
Get the certificate identifier |
String |
getKeyId()
Get the key id of the certificate |
String |
getName()
Get the certificate name |
Certificate |
getProperties()
Get the certificate properties. |
String |
getSecretId()
Get the secret id of the certificate |
Key |
setProperties(CertificateProperties properties)
Set the certificate properties |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static KeyVaultCertificate fromJson(JsonReader jsonReader)
Reads a JSON stream into a KeyVaultCertificate.
Parameters:
Returns:
Throws:
getCer
public byte[] getCer()
Get the cer content of the certificate
Returns:
getId
public String getId()
Get the certificate identifier
Returns:
getKeyId
public String getKeyId()
Get the key id of the certificate
Returns:
getName
public String getName()
Get the certificate name
Returns:
getProperties
public CertificateProperties getProperties()
Get the certificate properties.
Returns:
getSecretId
public String getSecretId()
Get the secret id of the certificate
Returns:
setProperties
public KeyVaultCertificate setProperties(CertificateProperties properties)
Set the certificate properties
Parameters:
Returns:
toJson
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for