Class CertificateBundle
- java.lang.Object
-
- com.microsoft.azure.keyvault.models.custom.CertificateBundle
-
- com.microsoft.azure.keyvault.models.CertificateBundle
-
- Direct Known Subclasses:
DeletedCertificateBundle
public class CertificateBundle extends CertificateBundle
A certificate bundle consists of a certificate (X509) plus its attributes.
-
-
Constructor Summary
Constructors Constructor Description CertificateBundle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CertificateAttributesattributes()Get the attributes value.byte[]cer()Get the cer value.StringcontentType()Get the contentType value.Stringid()Get the id value.Stringkid()Get the kid value.CertificatePolicypolicy()Get the policy value.Stringsid()Get the sid value.Map<String,String>tags()Get the tags value.CertificateBundlewithAttributes(CertificateAttributes attributes)Set the attributes value.CertificateBundlewithCer(byte[] cer)Set the cer value.CertificateBundlewithContentType(String contentType)Set the contentType value.CertificateBundlewithTags(Map<String,String> tags)Set the tags value.byte[]x509Thumbprint()Get the x509Thumbprint value.-
Methods inherited from class com.microsoft.azure.keyvault.models.custom.CertificateBundle
certificateIdentifier, keyIdentifier, secretIdentifier, toString
-
-
-
-
Method Detail
-
id
public String id()
Get the id value.- Overrides:
idin classCertificateBundle- Returns:
- the id value
-
kid
public String kid()
Get the kid value.- Overrides:
kidin classCertificateBundle- Returns:
- the kid value
-
sid
public String sid()
Get the sid value.- Overrides:
sidin classCertificateBundle- Returns:
- the sid value
-
x509Thumbprint
public byte[] x509Thumbprint()
Get the x509Thumbprint value.- Returns:
- the x509Thumbprint value
-
policy
public CertificatePolicy policy()
Get the policy value.- Returns:
- the policy value
-
cer
public byte[] cer()
Get the cer value.- Returns:
- A copy of the cer value, or null if it has not been set.
-
withCer
public CertificateBundle withCer(byte[] cer)
Set the cer value.- Parameters:
cer- the cer value to set- Returns:
- the CertificateBundle object itself.
-
contentType
public String contentType()
Get the contentType value.- Returns:
- the contentType value
-
withContentType
public CertificateBundle withContentType(String contentType)
Set the contentType value.- Parameters:
contentType- the contentType value to set- Returns:
- the CertificateBundle object itself.
-
attributes
public CertificateAttributes attributes()
Get the attributes value.- Returns:
- the attributes value
-
withAttributes
public CertificateBundle withAttributes(CertificateAttributes attributes)
Set the attributes value.- Parameters:
attributes- the attributes value to set- Returns:
- the CertificateBundle object itself.
-
withTags
public CertificateBundle withTags(Map<String,String> tags)
Set the tags value.- Parameters:
tags- the tags value to set- Returns:
- the CertificateBundle object itself.
-
-