ApplicationGatewayAuthenticationCertificate.UpdateDefinitionStages.WithData<ReturnT> Interface

Type Parameters

ReturnT

the stage of the parent application gateway update to return to after attaching this definition

public static interface ApplicationGatewayAuthenticationCertificate.UpdateDefinitionStages.WithData

The stage of an application gateway authentication certificate definition allowing to specify the data of the certificate.

Method Summary

Modifier and Type Method and Description
abstract WithAttach<ReturnT> fromBase64(String base64data)

Specifies an X.509 certificate to upload.

abstract WithAttach<ReturnT> fromBytes(byte[] data)

Specifies an X.509 certificate to upload.

abstract WithAttach<ReturnT> fromFile(File certificateFile)

Specifies an X.509 certificate to upload.

Method Details

fromBase64

public abstract ApplicationGatewayAuthenticationCertificate.UpdateDefinitionStages.WithAttach fromBase64(String base64data)

Specifies an X.509 certificate to upload.

Parameters:

base64data - base-64 encoded data of the certificate

Returns:

the next stage of the definition

fromBytes

public abstract ApplicationGatewayAuthenticationCertificate.UpdateDefinitionStages.WithAttach fromBytes(byte[] data)

Specifies an X.509 certificate to upload.

Parameters:

data - the DER-encoded bytes of an X.509 certificate

Returns:

the next stage of the definition

fromFile

public abstract ApplicationGatewayAuthenticationCertificate.UpdateDefinitionStages.WithAttach fromFile(File certificateFile)

Specifies an X.509 certificate to upload.

Parameters:

certificateFile - a DER encoded X.509 certificate file

Returns:

the next stage of the definition

Throws:

java.io.IOException - when there are problems reading the certificate file

Applies to