Class X509CertificateProperties
- java.lang.Object
-
- com.microsoft.azure.keyvault.models.X509CertificateProperties
-
public class X509CertificateProperties extends Object
Properties of the X509 component of a certificate.
-
-
Constructor Summary
Constructors Constructor Description X509CertificateProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>ekus()Get the ekus value.List<KeyUsageType>keyUsage()Get the keyUsage value.Stringsubject()Get the subject value.SubjectAlternativeNamessubjectAlternativeNames()Get the subjectAlternativeNames value.IntegervalidityInMonths()Get the validityInMonths value.X509CertificatePropertieswithEkus(List<String> ekus)Set the ekus value.X509CertificatePropertieswithKeyUsage(List<KeyUsageType> keyUsage)Set the keyUsage value.X509CertificatePropertieswithSubject(String subject)Set the subject value.X509CertificatePropertieswithSubjectAlternativeNames(SubjectAlternativeNames subjectAlternativeNames)Set the subjectAlternativeNames value.X509CertificatePropertieswithValidityInMonths(Integer validityInMonths)Set the validityInMonths value.
-
-
-
Method Detail
-
subject
public String subject()
Get the subject value.- Returns:
- the subject value
-
withSubject
public X509CertificateProperties withSubject(String subject)
Set the subject value.- Parameters:
subject- the subject value to set- Returns:
- the X509CertificateProperties object itself.
-
withEkus
public X509CertificateProperties withEkus(List<String> ekus)
Set the ekus value.- Parameters:
ekus- the ekus value to set- Returns:
- the X509CertificateProperties object itself.
-
subjectAlternativeNames
public SubjectAlternativeNames subjectAlternativeNames()
Get the subjectAlternativeNames value.- Returns:
- the subjectAlternativeNames value
-
withSubjectAlternativeNames
public X509CertificateProperties withSubjectAlternativeNames(SubjectAlternativeNames subjectAlternativeNames)
Set the subjectAlternativeNames value.- Parameters:
subjectAlternativeNames- the subjectAlternativeNames value to set- Returns:
- the X509CertificateProperties object itself.
-
keyUsage
public List<KeyUsageType> keyUsage()
Get the keyUsage value.- Returns:
- the keyUsage value
-
withKeyUsage
public X509CertificateProperties withKeyUsage(List<KeyUsageType> keyUsage)
Set the keyUsage value.- Parameters:
keyUsage- the keyUsage value to set- Returns:
- the X509CertificateProperties object itself.
-
validityInMonths
public Integer validityInMonths()
Get the validityInMonths value.- Returns:
- the validityInMonths value
-
withValidityInMonths
public X509CertificateProperties withValidityInMonths(Integer validityInMonths)
Set the validityInMonths value.- Parameters:
validityInMonths- the validityInMonths value to set- Returns:
- the X509CertificateProperties object itself.
-
-