共用方式為


X509CertificateProperties Class

  • java.lang.Object
    • com.microsoft.azure.keyvault.models.X509CertificateProperties

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<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.

Method Details

ekus

public List ekus()

Get the ekus value.

Returns:

the ekus value

keyUsage

public List keyUsage()

Get the keyUsage value.

Returns:

the keyUsage value

subject

public String subject()

Get the subject value.

Returns:

the subject value

subjectAlternativeNames

public SubjectAlternativeNames subjectAlternativeNames()

Get the subjectAlternativeNames value.

Returns:

the subjectAlternativeNames value

validityInMonths

public Integer validityInMonths()

Get the validityInMonths value.

Returns:

the validityInMonths value

withEkus

public X509CertificateProperties withEkus(List ekus)

Set the ekus value.

Parameters:

ekus - the ekus value to set

Returns:

the X509CertificateProperties object itself.

withKeyUsage

public X509CertificateProperties withKeyUsage(List keyUsage)

Set the keyUsage value.

Parameters:

keyUsage - the keyUsage value to set

Returns:

the X509CertificateProperties object itself.

withSubject

public X509CertificateProperties withSubject(String subject)

Set the subject value.

Parameters:

subject - the subject value to set

Returns:

the X509CertificateProperties object itself.

withSubjectAlternativeNames

public X509CertificateProperties withSubjectAlternativeNames(SubjectAlternativeNames subjectAlternativeNames)

Set the subjectAlternativeNames value.

Parameters:

subjectAlternativeNames - the subjectAlternativeNames value to set

Returns:

the X509CertificateProperties object itself.

withValidityInMonths

public X509CertificateProperties withValidityInMonths(Integer validityInMonths)

Set the validityInMonths value.

Parameters:

validityInMonths - the validityInMonths value to set

Returns:

the X509CertificateProperties object itself.

Applies to