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 CertificateAttributes
attributes()
Get the attributes value.byte[]
cer()
Get the cer value.String
contentType()
Get the contentType value.String
id()
Get the id value.String
kid()
Get the kid value.CertificatePolicy
policy()
Get the policy value.String
sid()
Get the sid value.Map<String,String>
tags()
Get the tags value.CertificateBundle
withAttributes(CertificateAttributes attributes)
Set the attributes value.CertificateBundle
withCer(byte[] cer)
Set the cer value.CertificateBundle
withContentType(String contentType)
Set the contentType value.CertificateBundle
withTags(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:
id
in classCertificateBundle
- Returns:
- the id value
-
kid
public String kid()
Get the kid value.- Overrides:
kid
in classCertificateBundle
- Returns:
- the kid value
-
sid
public String sid()
Get the sid value.- Overrides:
sid
in 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.
-
-