Share via


CertificateConfiguration Class

  • java.lang.Object
    • com.microsoft.azure.management.apimanagement.v2019_01_01.CertificateConfiguration

public class CertificateConfiguration

Certificate configuration which consist of non-trusted intermediates and root certificates.

Constructor Summary

Constructor Description
CertificateConfiguration()

Method Summary

Modifier and Type Method and Description
CertificateInformation certificate()

Get certificate information.

java.lang.String certificatePassword()

Get certificate Password.

java.lang.String encodedCertificate()

Get base64 Encoded certificate.

java.lang.String storeName()

Get the System.Security.Cryptography.x509certificates.StoreName certificate store location.

CertificateConfiguration withCertificate(CertificateInformation certificate)

Set certificate information.

CertificateConfiguration withCertificatePassword(String certificatePassword)

Set certificate Password.

CertificateConfiguration withEncodedCertificate(String encodedCertificate)

Set base64 Encoded certificate.

CertificateConfiguration withStoreName(String storeName)

Set the System.Security.Cryptography.x509certificates.StoreName certificate store location.

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

CertificateConfiguration

public CertificateConfiguration()

Method Details

certificate

public CertificateInformation certificate()

Get certificate information.

Returns:

the certificate value

certificatePassword

public String certificatePassword()

Get certificate Password.

Returns:

the certificatePassword value

encodedCertificate

public String encodedCertificate()

Get base64 Encoded certificate.

Returns:

the encodedCertificate value

storeName

public String storeName()

Get the System.Security.Cryptography.x509certificates.StoreName certificate store location. Only Root and CertificateAuthority are valid locations. Possible values include: 'CertificateAuthority', 'Root'.

Returns:

the storeName value

withCertificate

public CertificateConfiguration withCertificate(CertificateInformation certificate)

Set certificate information.

Parameters:

certificate - the certificate value to set

Returns:

the CertificateConfiguration object itself.

withCertificatePassword

public CertificateConfiguration withCertificatePassword(String certificatePassword)

Set certificate Password.

Parameters:

certificatePassword - the certificatePassword value to set

Returns:

the CertificateConfiguration object itself.

withEncodedCertificate

public CertificateConfiguration withEncodedCertificate(String encodedCertificate)

Set base64 Encoded certificate.

Parameters:

encodedCertificate - the encodedCertificate value to set

Returns:

the CertificateConfiguration object itself.

withStoreName

public CertificateConfiguration withStoreName(String storeName)

Set the System.Security.Cryptography.x509certificates.StoreName certificate store location. Only Root and CertificateAuthority are valid locations. Possible values include: 'CertificateAuthority', 'Root'.

Parameters:

storeName - the storeName value to set

Returns:

the CertificateConfiguration object itself.

Applies to