Udostępnij za pośrednictwem


IssuerCertificateInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.IssuerCertificateInfo

Implements

public final class IssuerCertificateInfo
implements JsonSerializable<IssuerCertificateInfo>

Information about the certificate that is used for token validation.

Constructor Summary

Constructor Description
IssuerCertificateInfo()

Creates an instance of IssuerCertificateInfo class.

Method Summary

Modifier and Type Method and Description
String certificateUrl()

Get the certificateUrl property: Keyvault certificate URL in https://keyvaultname.vault.azure.net/certificates/certificateName/certificateVersion format.

static IssuerCertificateInfo fromJson(JsonReader jsonReader)

Reads an instance of IssuerCertificateInfo from the JsonReader.

CustomJwtAuthenticationManagedIdentity identity()

Get the identity property: The identity that will be used to access the certificate.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

IssuerCertificateInfo withCertificateUrl(String certificateUrl)

Set the certificateUrl property: Keyvault certificate URL in https://keyvaultname.vault.azure.net/certificates/certificateName/certificateVersion format.

IssuerCertificateInfo withIdentity(CustomJwtAuthenticationManagedIdentity identity)

Set the identity property: The identity that will be used to access the certificate.

Methods inherited from java.lang.Object

Constructor Details

IssuerCertificateInfo

public IssuerCertificateInfo()

Creates an instance of IssuerCertificateInfo class.

Method Details

certificateUrl

public String certificateUrl()

Get the certificateUrl property: Keyvault certificate URL in https://keyvaultname.vault.azure.net/certificates/certificateName/certificateVersion format.

Returns:

the certificateUrl value.

fromJson

public static IssuerCertificateInfo fromJson(JsonReader jsonReader)

Reads an instance of IssuerCertificateInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

identity

public CustomJwtAuthenticationManagedIdentity identity()

Get the identity property: The identity that will be used to access the certificate.

Returns:

the identity value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCertificateUrl

public IssuerCertificateInfo withCertificateUrl(String certificateUrl)

Set the certificateUrl property: Keyvault certificate URL in https://keyvaultname.vault.azure.net/certificates/certificateName/certificateVersion format.

Parameters:

certificateUrl - the certificateUrl value to set.

Returns:

the IssuerCertificateInfo object itself.

withIdentity

public IssuerCertificateInfo withIdentity(CustomJwtAuthenticationManagedIdentity identity)

Set the identity property: The identity that will be used to access the certificate.

Parameters:

identity - the identity value to set.

Returns:

the IssuerCertificateInfo object itself.

Applies to