CertificateProfileProperties Class
- java.
lang. Object - com.
azure. resourcemanager. trustedsigning. models. CertificateProfileProperties
- com.
Implements
public final class CertificateProfileProperties
implements JsonSerializable<CertificateProfileProperties>
Properties of the certificate profile.
Constructor Summary
| Constructor | Description |
|---|---|
| CertificateProfileProperties() |
Creates an instance of Certificate |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<Certificate> |
certificates()
Get the certificates property: List of renewed certificates. |
| String |
city()
Get the city property: Used as L in the certificate subject name. |
| String |
commonName()
Get the common |
| String |
country()
Get the country property: Used as C in the certificate subject name. |
| String |
enhancedKeyUsage()
Get the enhanced |
|
static
Certificate |
fromJson(JsonReader jsonReader)
Reads an instance of Certificate |
| String |
identityValidationId()
Get the identity |
| Boolean |
includeCity()
Get the include |
| Boolean |
includeCountry()
Get the include |
| Boolean |
includePostalCode()
Get the include |
| Boolean |
includeState()
Get the include |
| Boolean |
includeStreetAddress()
Get the include |
| String |
organization()
Get the organization property: Used as O in the certificate subject name. |
| String |
organizationUnit()
Get the organization |
| String |
postalCode()
Get the postal |
|
Profile |
profileType()
Get the profile |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
state()
Get the state property: Used as S in the certificate subject name. |
|
Certificate |
status()
Get the status property: Status of the certificate profile. |
| String |
streetAddress()
Get the street |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Certificate |
withIdentityValidationId(String identityValidationId)
Set the identity |
|
Certificate |
withIncludeCity(Boolean includeCity)
Set the include |
|
Certificate |
withIncludeCountry(Boolean includeCountry)
Set the include |
|
Certificate |
withIncludePostalCode(Boolean includePostalCode)
Set the include |
|
Certificate |
withIncludeState(Boolean includeState)
Set the include |
|
Certificate |
withIncludeStreetAddress(Boolean includeStreetAddress)
Set the include |
|
Certificate |
withProfileType(ProfileType profileType)
Set the profile |
Methods inherited from java.lang.Object
Constructor Details
CertificateProfileProperties
public CertificateProfileProperties()
Creates an instance of CertificateProfileProperties class.
Method Details
certificates
public List<Certificate> certificates()
Get the certificates property: List of renewed certificates.
Returns:
city
public String city()
Get the city property: Used as L in the certificate subject name.
Returns:
commonName
public String commonName()
Get the commonName property: Used as CN in the certificate subject name.
Returns:
country
public String country()
Get the country property: Used as C in the certificate subject name.
Returns:
enhancedKeyUsage
public String enhancedKeyUsage()
Get the enhancedKeyUsage property: Enhanced key usage of the certificate.
Returns:
fromJson
public static CertificateProfileProperties fromJson(JsonReader jsonReader)
Reads an instance of CertificateProfileProperties from the JsonReader.
Parameters:
Returns:
Throws:
identityValidationId
public String identityValidationId()
Get the identityValidationId property: Identity validation id used for the certificate subject name.
Returns:
includeCity
public Boolean includeCity()
Get the includeCity property: Whether to include L in the certificate subject name. Applicable only for private trust, private trust ci profile types.
Returns:
includeCountry
public Boolean includeCountry()
Get the includeCountry property: Whether to include C in the certificate subject name. Applicable only for private trust, private trust ci profile types.
Returns:
includePostalCode
public Boolean includePostalCode()
Get the includePostalCode property: Whether to include PC in the certificate subject name.
Returns:
includeState
public Boolean includeState()
Get the includeState property: Whether to include S in the certificate subject name. Applicable only for private trust, private trust ci profile types.
Returns:
includeStreetAddress
public Boolean includeStreetAddress()
Get the includeStreetAddress property: Whether to include STREET in the certificate subject name.
Returns:
organization
public String organization()
Get the organization property: Used as O in the certificate subject name.
Returns:
organizationUnit
public String organizationUnit()
Get the organizationUnit property: Used as OU in the private trust certificate subject name.
Returns:
postalCode
public String postalCode()
Get the postalCode property: Used as PC in the certificate subject name.
Returns:
profileType
public ProfileType profileType()
Get the profileType property: Profile type of the certificate.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Status of the current operation on certificate profile.
Returns:
state
public String state()
Get the state property: Used as S in the certificate subject name.
Returns:
status
public CertificateProfileStatus status()
Get the status property: Status of the certificate profile.
Returns:
streetAddress
public String streetAddress()
Get the streetAddress property: Used as STREET in the certificate subject name.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIdentityValidationId
public CertificateProfileProperties withIdentityValidationId(String identityValidationId)
Set the identityValidationId property: Identity validation id used for the certificate subject name.
Parameters:
Returns:
withIncludeCity
public CertificateProfileProperties withIncludeCity(Boolean includeCity)
Set the includeCity property: Whether to include L in the certificate subject name. Applicable only for private trust, private trust ci profile types.
Parameters:
Returns:
withIncludeCountry
public CertificateProfileProperties withIncludeCountry(Boolean includeCountry)
Set the includeCountry property: Whether to include C in the certificate subject name. Applicable only for private trust, private trust ci profile types.
Parameters:
Returns:
withIncludePostalCode
public CertificateProfileProperties withIncludePostalCode(Boolean includePostalCode)
Set the includePostalCode property: Whether to include PC in the certificate subject name.
Parameters:
Returns:
withIncludeState
public CertificateProfileProperties withIncludeState(Boolean includeState)
Set the includeState property: Whether to include S in the certificate subject name. Applicable only for private trust, private trust ci profile types.
Parameters:
Returns:
withIncludeStreetAddress
public CertificateProfileProperties withIncludeStreetAddress(Boolean includeStreetAddress)
Set the includeStreetAddress property: Whether to include STREET in the certificate subject name.
Parameters:
Returns:
withProfileType
public CertificateProfileProperties withProfileType(ProfileType profileType)
Set the profileType property: Profile type of the certificate.
Parameters:
Returns: