public class X509CertificateProperties extends Object
| Constructor and Description |
|---|
X509CertificateProperties() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
ekus()
Get the ekus value.
|
List<KeyUsageType> |
keyUsage()
Get the keyUsage value.
|
String |
subject()
Get the subject value.
|
SubjectAlternativeNames |
subjectAlternativeNames()
Get the subjectAlternativeNames value.
|
Integer |
validityInMonths()
Get the validityInMonths value.
|
X509CertificateProperties |
withEkus(List<String> ekus)
Set the ekus value.
|
X509CertificateProperties |
withKeyUsage(List<KeyUsageType> keyUsage)
Set the keyUsage value.
|
X509CertificateProperties |
withSubject(String subject)
Set the subject value.
|
X509CertificateProperties |
withSubjectAlternativeNames(SubjectAlternativeNames subjectAlternativeNames)
Set the subjectAlternativeNames value.
|
X509CertificateProperties |
withValidityInMonths(Integer validityInMonths)
Set the validityInMonths value.
|
public String subject()
public X509CertificateProperties withSubject(String subject)
subject - the subject value to setpublic X509CertificateProperties withEkus(List<String> ekus)
ekus - the ekus value to setpublic SubjectAlternativeNames subjectAlternativeNames()
public X509CertificateProperties withSubjectAlternativeNames(SubjectAlternativeNames subjectAlternativeNames)
subjectAlternativeNames - the subjectAlternativeNames value to setpublic List<KeyUsageType> keyUsage()
public X509CertificateProperties withKeyUsage(List<KeyUsageType> keyUsage)
keyUsage - the keyUsage value to setpublic Integer validityInMonths()
public X509CertificateProperties withValidityInMonths(Integer validityInMonths)
validityInMonths - the validityInMonths value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/