CertificateBaseProperties Class

  • java.lang.Object
    • com.microsoft.azure.management.batch.CertificateBaseProperties

public class CertificateBaseProperties

Base certificate properties.

Constructor Summary

Constructor Description
CertificateBaseProperties()

Method Summary

Modifier and Type Method and Description
CertificateFormat format()

Get the format of the certificate - either Pfx or Cer.

java.lang.String thumbprint()

Get this must match the thumbprint from the name.

java.lang.String thumbprintAlgorithm()

Get this must match the first portion of the certificate name.

CertificateBaseProperties withFormat(CertificateFormat format)

Set the format of the certificate - either Pfx or Cer.

CertificateBaseProperties withThumbprint(String thumbprint)

Set this must match the thumbprint from the name.

CertificateBaseProperties withThumbprintAlgorithm(String thumbprintAlgorithm)

Set this must match the first portion of the certificate name.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

CertificateBaseProperties

public CertificateBaseProperties()

Method Details

format

public CertificateFormat format()

Get the format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx', 'Cer'.

Returns:

the format value

thumbprint

public String thumbprint()

Get this must match the thumbprint from the name.

Returns:

the thumbprint value

thumbprintAlgorithm

public String thumbprintAlgorithm()

Get this must match the first portion of the certificate name. Currently required to be 'SHA1'.

Returns:

the thumbprintAlgorithm value

withFormat

public CertificateBaseProperties withFormat(CertificateFormat format)

Set the format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx', 'Cer'.

Parameters:

format - the format value to set

Returns:

the CertificateBaseProperties object itself.

withThumbprint

public CertificateBaseProperties withThumbprint(String thumbprint)

Set this must match the thumbprint from the name.

Parameters:

thumbprint - the thumbprint value to set

Returns:

the CertificateBaseProperties object itself.

withThumbprintAlgorithm

public CertificateBaseProperties withThumbprintAlgorithm(String thumbprintAlgorithm)

Set this must match the first portion of the certificate name. Currently required to be 'SHA1'.

Parameters:

thumbprintAlgorithm - the thumbprintAlgorithm value to set

Returns:

the CertificateBaseProperties object itself.

Applies to