Class MicrosoftGraphCertificateAuthority
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphCertificateAuthority
certificateAuthority.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphCertificateAuthority class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: certificateAuthority.byte[]Get the certificate property: Required.Get the certificateRevocationListUrl property: The URL of the certificate revocation list.Get the deltaCertificateRevocationListUrl property: The URL contains the list of all revoked certificates since the last time a full certificate revocaton list was created.Get the isRootAuthority property: Required.issuer()Get the issuer property: The issuer of the certificate, calculated from the certificate value.Get the issuerSki property: The subject key identifier of the certificate, calculated from the certificate value.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: certificateAuthority.withCertificate(byte[] certificate) Set the certificate property: Required.withCertificateRevocationListUrl(String certificateRevocationListUrl) Set the certificateRevocationListUrl property: The URL of the certificate revocation list.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.withIsRootAuthority(Boolean isRootAuthority) Set the isRootAuthority property: Required.withIssuer(String issuer) Set the issuer property: The issuer of the certificate, calculated from the certificate value.withIssuerSki(String issuerSki) Set the issuerSki property: The subject key identifier of the certificate, calculated from the certificate value.
-
Constructor Details
-
MicrosoftGraphCertificateAuthority
public MicrosoftGraphCertificateAuthority()Creates an instance of MicrosoftGraphCertificateAuthority class.
-
-
Method Details
-
certificate
public byte[] certificate()Get the certificate property: Required. The base64 encoded string representing the public certificate.- Returns:
- the certificate value.
-
withCertificate
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.
-
certificateRevocationListUrl
Get the certificateRevocationListUrl property: The URL of the certificate revocation list.- Returns:
- the certificateRevocationListUrl value.
-
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.
-
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.
-
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.
-
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.
-
withIsRootAuthority
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.
-
issuer
Get the issuer property: The issuer of the certificate, calculated from the certificate value. Read-only.- Returns:
- the issuer value.
-
withIssuer
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.
-
issuerSki
Get the issuerSki property: The subject key identifier of the certificate, calculated from the certificate value. Read-only.- Returns:
- the issuerSki value.
-
withIssuerSki
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.
-
additionalProperties
Get the additionalProperties property: certificateAuthority.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphCertificateAuthority withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: certificateAuthority.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphCertificateAuthority object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-