你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphCertificateAuthority Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphCertificateAuthority

Implements

public final class MicrosoftGraphCertificateAuthority
implements JsonSerializable<MicrosoftGraphCertificateAuthority>

certificateAuthority.

Constructor Summary

Constructor Description
MicrosoftGraphCertificateAuthority()

Creates an instance of MicrosoftGraphCertificateAuthority class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: certificateAuthority.

byte[] certificate()

Get the certificate property: Required.

String certificateRevocationListUrl()

Get the certificateRevocationListUrl property: The URL of the certificate revocation list.

String deltaCertificateRevocationListUrl()

Get the deltaCertificateRevocationListUrl property: The URL contains the list of all revoked certificates since the last time a full certificate revocaton list was created.

static MicrosoftGraphCertificateAuthority fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphCertificateAuthority from the JsonReader.

Boolean isRootAuthority()

Get the isRootAuthority property: Required.

String issuer()

Get the issuer property: The issuer of the certificate, calculated from the certificate value.

String issuerSki()

Get the issuerSki property: The subject key identifier of the certificate, calculated from the certificate value.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphCertificateAuthority withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: certificateAuthority.

MicrosoftGraphCertificateAuthority withCertificate(byte[] certificate)

Set the certificate property: Required.

MicrosoftGraphCertificateAuthority withCertificateRevocationListUrl(String certificateRevocationListUrl)

Set the certificateRevocationListUrl property: The URL of the certificate revocation list.

MicrosoftGraphCertificateAuthority withDeltaCertificateRevocationListUrl(String deltaCertificateRevocationListUrl)

Set the deltaCertificateRevocationListUrl property: The URL contains the list of all revoked certificates since the last time a full certificate revocaton list was created.

MicrosoftGraphCertificateAuthority withIsRootAuthority(Boolean isRootAuthority)

Set the isRootAuthority property: Required.

MicrosoftGraphCertificateAuthority withIssuer(String issuer)

Set the issuer property: The issuer of the certificate, calculated from the certificate value.

MicrosoftGraphCertificateAuthority withIssuerSki(String issuerSki)

Set the issuerSki property: The subject key identifier of the certificate, calculated from the certificate value.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphCertificateAuthority

public MicrosoftGraphCertificateAuthority()

Creates an instance of MicrosoftGraphCertificateAuthority class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: certificateAuthority.

Returns:

the additionalProperties value.

certificate

public byte[] certificate()

Get the certificate property: Required. The base64 encoded string representing the public certificate.

Returns:

the certificate value.

certificateRevocationListUrl

public String certificateRevocationListUrl()

Get the certificateRevocationListUrl property: The URL of the certificate revocation list.

Returns:

the certificateRevocationListUrl value.

deltaCertificateRevocationListUrl

public String deltaCertificateRevocationListUrl()

Get the deltaCertificateRevocationListUrl property: The URL contains the list of all revoked certificates since the last time a full certificate revocaton list was created.

Returns:

the deltaCertificateRevocationListUrl value.

fromJson

public static MicrosoftGraphCertificateAuthority fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphCertificateAuthority from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphCertificateAuthority if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphCertificateAuthority.

isRootAuthority

public Boolean isRootAuthority()

Get the isRootAuthority property: Required. true if the trusted certificate is a root authority, false if the trusted certificate is an intermediate authority.

Returns:

the isRootAuthority value.

issuer

public String issuer()

Get the issuer property: The issuer of the certificate, calculated from the certificate value. Read-only.

Returns:

the issuer value.

issuerSki

public String issuerSki()

Get the issuerSki property: The subject key identifier of the certificate, calculated from the certificate value. Read-only.

Returns:

the issuerSki value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphCertificateAuthority withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: certificateAuthority.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphCertificateAuthority object itself.

withCertificate

public MicrosoftGraphCertificateAuthority withCertificate(byte[] certificate)

Set the certificate property: Required. The base64 encoded string representing the public certificate.

Parameters:

certificate - the certificate value to set.

Returns:

the MicrosoftGraphCertificateAuthority object itself.

withCertificateRevocationListUrl

public MicrosoftGraphCertificateAuthority withCertificateRevocationListUrl(String certificateRevocationListUrl)

Set the certificateRevocationListUrl property: The URL of the certificate revocation list.

Parameters:

certificateRevocationListUrl - the certificateRevocationListUrl value to set.

Returns:

the MicrosoftGraphCertificateAuthority object itself.

withDeltaCertificateRevocationListUrl

public MicrosoftGraphCertificateAuthority withDeltaCertificateRevocationListUrl(String deltaCertificateRevocationListUrl)

Set the deltaCertificateRevocationListUrl property: The URL contains the list of all revoked certificates since the last time a full certificate revocaton list was created.

Parameters:

deltaCertificateRevocationListUrl - the deltaCertificateRevocationListUrl value to set.

Returns:

the MicrosoftGraphCertificateAuthority object itself.

withIsRootAuthority

public MicrosoftGraphCertificateAuthority withIsRootAuthority(Boolean isRootAuthority)

Set the isRootAuthority property: Required. true if the trusted certificate is a root authority, false if the trusted certificate is an intermediate authority.

Parameters:

isRootAuthority - the isRootAuthority value to set.

Returns:

the MicrosoftGraphCertificateAuthority object itself.

withIssuer

public MicrosoftGraphCertificateAuthority withIssuer(String issuer)

Set the issuer property: The issuer of the certificate, calculated from the certificate value. Read-only.

Parameters:

issuer - the issuer value to set.

Returns:

the MicrosoftGraphCertificateAuthority object itself.

withIssuerSki

public MicrosoftGraphCertificateAuthority withIssuerSki(String issuerSki)

Set the issuerSki property: The subject key identifier of the certificate, calculated from the certificate value. Read-only.

Parameters:

issuerSki - the issuerSki value to set.

Returns:

the MicrosoftGraphCertificateAuthority object itself.

Applies to