X509CertificateProperties Class
- java.
lang. Object - com.
microsoft. azure. keyvault. models. X509CertificateProperties
- com.
public class X509CertificateProperties
Properties of the X509 component of a certificate.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
ekus()
Get the ekus value. |
List<Key |
keyUsage()
Get the keyUsage value. |
String |
subject()
Get the subject value. |
Subject |
subjectAlternativeNames()
Get the subjectAlternativeNames value. |
Integer |
validityInMonths()
Get the validityInMonths value. |
X509Certificate |
withEkus(List<String> ekus)
Set the ekus value. |
X509Certificate |
withKeyUsage(List<KeyUsageType> keyUsage)
Set the keyUsage value. |
X509Certificate |
withSubject(String subject)
Set the subject value. |
X509Certificate |
withSubjectAlternativeNames(SubjectAlternativeNames subjectAlternativeNames)
Set the subjectAlternativeNames value. |
X509Certificate |
withValidityInMonths(Integer validityInMonths)
Set the validityInMonths value. |
Method Details
ekus
public List
Get the ekus value.
Returns:
keyUsage
public List
Get the keyUsage value.
Returns:
subject
public String subject()
Get the subject value.
Returns:
subjectAlternativeNames
public SubjectAlternativeNames subjectAlternativeNames()
Get the subjectAlternativeNames value.
Returns:
validityInMonths
public Integer validityInMonths()
Get the validityInMonths value.
Returns:
withEkus
public X509CertificateProperties withEkus(List
Set the ekus value.
Parameters:
Returns:
withKeyUsage
public X509CertificateProperties withKeyUsage(List
Set the keyUsage value.
Parameters:
Returns:
withSubject
public X509CertificateProperties withSubject(String subject)
Set the subject value.
Parameters:
Returns:
withSubjectAlternativeNames
public X509CertificateProperties withSubjectAlternativeNames(SubjectAlternativeNames subjectAlternativeNames)
Set the subjectAlternativeNames value.
Parameters:
Returns:
withValidityInMonths
public X509CertificateProperties withValidityInMonths(Integer validityInMonths)
Set the validityInMonths value.
Parameters:
Returns:
Applies to
Azure SDK for Java