CertificateConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. apimanagement. models. CertificateConfiguration
- com.
public final class CertificateConfiguration
Certificate configuration which consist of non-trusted intermediates and root certificates.
Constructor Summary
Constructor | Description |
---|---|
CertificateConfiguration() |
Creates an instance of Certificate |
Method Summary
Modifier and Type | Method and Description |
---|---|
Certificate |
certificate()
Get the certificate property: Certificate information. |
String |
certificatePassword()
Get the certificate |
String |
encodedCertificate()
Get the encoded |
Certificate |
storeName()
Get the store |
void |
validate()
Validates the instance. |
Certificate |
withCertificate(CertificateInformation certificate)
Set the certificate property: Certificate information. |
Certificate |
withCertificatePassword(String certificatePassword)
Set the certificate |
Certificate |
withEncodedCertificate(String encodedCertificate)
Set the encoded |
Certificate |
withStoreName(CertificateConfigurationStoreName storeName)
Set the store |
Methods inherited from java.lang.Object
Constructor Details
CertificateConfiguration
public CertificateConfiguration()
Creates an instance of CertificateConfiguration class.
Method Details
certificate
public CertificateInformation certificate()
Get the certificate property: Certificate information.
Returns:
certificatePassword
public String certificatePassword()
Get the certificatePassword property: Certificate Password.
Returns:
encodedCertificate
public String encodedCertificate()
Get the encodedCertificate property: Base64 Encoded certificate.
Returns:
storeName
public CertificateConfigurationStoreName storeName()
Get the storeName property: The System.Security.Cryptography.x509certificates.StoreName certificate store location. Only Root and CertificateAuthority are valid locations.
Returns:
validate
public void validate()
Validates the instance.
withCertificate
public CertificateConfiguration withCertificate(CertificateInformation certificate)
Set the certificate property: Certificate information.
Parameters:
Returns:
withCertificatePassword
public CertificateConfiguration withCertificatePassword(String certificatePassword)
Set the certificatePassword property: Certificate Password.
Parameters:
Returns:
withEncodedCertificate
public CertificateConfiguration withEncodedCertificate(String encodedCertificate)
Set the encodedCertificate property: Base64 Encoded certificate.
Parameters:
Returns:
withStoreName
public CertificateConfiguration withStoreName(CertificateConfigurationStoreName storeName)
Set the storeName property: The System.Security.Cryptography.x509certificates.StoreName certificate store location. Only Root and CertificateAuthority are valid locations.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for