public class Certificate extends Object
| Constructor and Description |
|---|
Certificate() |
| Modifier and Type | Method and Description |
|---|---|
String |
expirationDate()
Get the expirationDate property: Certificate expiration date.
|
String |
subject()
Get the subject property: Subject name in the certificate.
|
String |
thumbprint()
Get the thumbprint property: Certificate thumbprint.
|
void |
validate()
Validates the instance.
|
Certificate |
withExpirationDate(String expirationDate)
Set the expirationDate property: Certificate expiration date.
|
Certificate |
withSubject(String subject)
Set the subject property: Subject name in the certificate.
|
Certificate |
withThumbprint(String thumbprint)
Set the thumbprint property: Certificate thumbprint.
|
public String subject()
public Certificate withSubject(String subject)
subject - the subject value to set.public String expirationDate()
public Certificate withExpirationDate(String expirationDate)
expirationDate - the expirationDate value to set.public String thumbprint()
public Certificate withThumbprint(String thumbprint)
thumbprint - the thumbprint value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.