CertificateInformation Class
- java.
lang. Object - com.
microsoft. azure. management. apimanagement. v2019_01_01.CertificateInformation
- com.
public class CertificateInformation
SSL certificate information.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| CertificateInformation() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| org.joda.time.DateTime |
expiry()
Get expiration date of the certificate. |
| java.lang.String |
subject()
Get subject of the certificate. |
| java.lang.String |
thumbprint()
Get thumbprint of the certificate. |
|
Certificate |
withExpiry(DateTime expiry)
Set expiration date of the certificate. |
|
Certificate |
withSubject(String subject)
Set subject of the certificate. |
|
Certificate |
withThumbprint(String thumbprint)
Set thumbprint of the certificate. |
Methods inherited from java.lang.Object
Constructor Details
CertificateInformation
public CertificateInformation()
Method Details
expiry
public DateTime expiry()
Get expiration date of the certificate. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
Returns:
subject
public String subject()
Get subject of the certificate.
Returns:
thumbprint
public String thumbprint()
Get thumbprint of the certificate.
Returns:
withExpiry
public CertificateInformation withExpiry(DateTime expiry)
Set expiration date of the certificate. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
Parameters:
Returns:
withSubject
public CertificateInformation withSubject(String subject)
Set subject of the certificate.
Parameters:
Returns:
withThumbprint
public CertificateInformation withThumbprint(String thumbprint)
Set thumbprint of the certificate.
Parameters:
Returns: