CertificateBundle Class

  • java.lang.Object
    • com.microsoft.azure.keyvault.models.CertificateBundle

public class CertificateBundle

A certificate bundle consists of a certificate (X509) plus its attributes.

Method Summary

Modifier and Type Method and Description
CertificateAttributes attributes()

Get the attributes value.

byte [] cer()

Get the cer value.

CertificateIdentifier certificateIdentifier()

The certificate identifier.

String contentType()

Get the contentType value.

String id()

Get the id value.

KeyIdentifier keyIdentifier()

The key identifier.

String kid()

Get the kid value.

CertificatePolicy policy()

Get the policy value.

SecretIdentifier secretIdentifier()

The secret identifier.

String sid()

Get the sid value.

Map<String, String> tags()

Get the tags value.

String toString()
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.

Method Details

attributes

public CertificateAttributes attributes()

Get the attributes value.

Returns:

the attributes value

cer

public byte [] cer()

Get the cer value.

Returns:

the cer value

certificateIdentifier

public CertificateIdentifier certificateIdentifier()

The certificate identifier.

Returns:

certificate identifier

contentType

public String contentType()

Get the contentType value.

Returns:

the contentType value

id

public String id()

Get the id value.

Returns:

the id value

keyIdentifier

public KeyIdentifier keyIdentifier()

The key identifier.

Returns:

key identifier

kid

public String kid()

Get the kid value.

Returns:

the kid value

policy

public CertificatePolicy policy()

Get the policy value.

Returns:

the policy value

secretIdentifier

public SecretIdentifier secretIdentifier()

The secret identifier.

Returns:

secret identifier

sid

public String sid()

Get the sid value.

Returns:

the sid value

tags

public Map tags()

Get the tags value.

Returns:

the tags value

toString

public String toString()

withAttributes

public CertificateBundle withAttributes(CertificateAttributes attributes)

Set the attributes value.

Parameters:

attributes - the attributes value to set

Returns:

the CertificateBundle object itself.

withCer

public CertificateBundle withCer(byte[] cer)

Set the cer value.

Parameters:

cer - the cer value to set

Returns:

the CertificateBundle object itself.

withContentType

public CertificateBundle withContentType(String contentType)

Set the contentType value.

Parameters:

contentType - the contentType value to set

Returns:

the CertificateBundle object itself.

withTags

public CertificateBundle withTags(Map tags)

Set the tags value.

Parameters:

tags - the tags value to set

Returns:

the CertificateBundle object itself.

x509Thumbprint

public byte [] x509Thumbprint()

Get the x509Thumbprint value.

Returns:

the x509Thumbprint value

Applies to