Partager via


AppServiceCertificate Interface

Implements

public interface AppServiceCertificate
extends GroupableResource<AppServiceManager,CertificateInner>, Refreshable<AppServiceCertificate>

An immutable client-side representation of an Azure app service certificate.

Method Summary

Modifier and Type Method and Description
abstract byte[] certificateBlob()

Gets the raw bytes of .cer file.

abstract OffsetDateTime expirationDate()

Gets the certificate expriration date .

abstract String friendlyName()

Gets the friendly name of the certificate.

abstract List<String> hostNames()

Gets the host names the certificate applies to.

abstract HostingEnvironmentProfile hostingEnvironmentProfile()

Gets the specification for the App Service Environment to use for the certificate.

abstract OffsetDateTime issueDate()

Gets the certificate issue Date.

abstract String issuer()

Gets the certificate issuer.

abstract String password()

Gets the certificate password.

abstract byte[] pfxBlob()

Gets the pfx blob.

abstract String publicKeyHash()

Gets the public key hash.

abstract String selfLink()

Gets the self link.

abstract String siteName()

Gets the app name.

abstract String subjectName()

Gets the subject name of the certificate.

abstract String thumbprint()

Gets the certificate thumbprint.

abstract Boolean valid()

Check whether the certificate valid.

Method Details

certificateBlob

public abstract byte[] certificateBlob()

Gets the raw bytes of .cer file.

Returns:

the raw bytes of .cer file

expirationDate

public abstract OffsetDateTime expirationDate()

Gets the certificate expriration date .

Returns:

the certificate expriration date

friendlyName

public abstract String friendlyName()

Gets the friendly name of the certificate.

Returns:

the friendly name of the certificate

hostNames

public abstract List hostNames()

Gets the host names the certificate applies to.

Returns:

the host names the certificate applies to

hostingEnvironmentProfile

public abstract HostingEnvironmentProfile hostingEnvironmentProfile()

Gets the specification for the App Service Environment to use for the certificate.

Returns:

the specification for the App Service Environment to use for the certificate

issueDate

public abstract OffsetDateTime issueDate()

Gets the certificate issue Date.

Returns:

the certificate issue Date

issuer

public abstract String issuer()

Gets the certificate issuer.

Returns:

the certificate issuer

password

public abstract String password()

Gets the certificate password.

Returns:

the certificate password

pfxBlob

public abstract byte[] pfxBlob()

Gets the pfx blob.

Returns:

the pfx blob

publicKeyHash

public abstract String publicKeyHash()

Gets the public key hash.

Returns:

the public key hash

selfLink

public abstract String selfLink()

Gets the self link.

Returns:

the self link

siteName

public abstract String siteName()

Gets the app name.

Returns:

the app name

subjectName

public abstract String subjectName()

Gets the subject name of the certificate.

Returns:

the subject name of the certificate

thumbprint

public abstract String thumbprint()

Gets the certificate thumbprint.

Returns:

the certificate thumbprint

valid

public abstract Boolean valid()

Check whether the certificate valid.

Returns:

if the certificate valid

Applies to