CertificateBundle Class
- java.
lang. Object - com.
microsoft. azure. keyvault. models. CertificateBundle
- com.
public class CertificateBundle
A certificate bundle consists of a certificate (X509) plus its attributes.
Method Summary
Modifier and Type | Method and Description |
---|---|
Certificate |
attributes()
Get the attributes value. |
byte [] |
cer()
Get the cer value. |
Certificate |
certificateIdentifier()
The certificate identifier. |
String |
contentType()
Get the contentType value. |
String |
id()
Get the id value. |
Key |
keyIdentifier()
The key identifier. |
String |
kid()
Get the kid value. |
Certificate |
policy()
Get the policy value. |
Secret |
secretIdentifier()
The secret identifier. |
String |
sid()
Get the sid value. |
Map<String, String> |
tags()
Get the tags value. |
String | toString() |
Certificate |
withAttributes(CertificateAttributes attributes)
Set the attributes value. |
Certificate |
withCer(byte[] cer)
Set the cer value. |
Certificate |
withContentType(String contentType)
Set the contentType value. |
Certificate |
withTags(Map<String, String> tags)
Set the tags value. |
byte [] |
x509Thumbprint()
Get the x509Thumbprint value. |
Method Details
attributes
public CertificateAttributes attributes()
Get the attributes value.
Returns:
cer
public byte [] cer()
Get the cer value.
Returns:
certificateIdentifier
public CertificateIdentifier certificateIdentifier()
The certificate identifier.
Returns:
contentType
public String contentType()
Get the contentType value.
Returns:
id
public String id()
Get the id value.
Returns:
keyIdentifier
public KeyIdentifier keyIdentifier()
The key identifier.
Returns:
kid
public String kid()
Get the kid value.
Returns:
policy
public CertificatePolicy policy()
Get the policy value.
Returns:
secretIdentifier
public SecretIdentifier secretIdentifier()
The secret identifier.
Returns:
sid
public String sid()
Get the sid value.
Returns:
tags
public Map
Get the tags value.
Returns:
toString
public String toString()
withAttributes
public CertificateBundle withAttributes(CertificateAttributes attributes)
Set the attributes value.
Parameters:
Returns:
withCer
public CertificateBundle withCer(byte[] cer)
Set the cer value.
Parameters:
Returns:
withContentType
public CertificateBundle withContentType(String contentType)
Set the contentType value.
Parameters:
Returns:
withTags
public CertificateBundle withTags(Map
Set the tags value.
Parameters:
Returns:
x509Thumbprint
public byte [] x509Thumbprint()
Get the x509Thumbprint value.
Returns:
Applies to
Azure SDK for Java