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