ApplicationGatewaySslCertificate.DefinitionStages.WithData<ParentT> Interface

Type Parameters

ParentT

the stage of the parent application gateway to return to after attaching

public interface WithData

The stage of an SSL certificate definition allowing to specify the contents of the SSL certificate.

Method Summary

Modifier and Type Method and Description
ApplicationGatewaySslCertificate.DefinitionStages.WithPassword<ParentT> withPfxFromBytes(byte[] pfxData)

Specifies the contents of the private key in the PFX (PKCS#12) format, not base64-encoded.

ApplicationGatewaySslCertificate.DefinitionStages.WithPassword<ParentT> withPfxFromFile(File pfxFile)

Specifies the PFX (PKCS#12) file to get the private key content from.

Method Details

withPfxFromBytes

public WithPassword withPfxFromBytes(byte[] pfxData)

Specifies the contents of the private key in the PFX (PKCS#12) format, not base64-encoded.

Parameters:

pfxData - the contents of the private key in the PFX format

Returns:

the next stage of the definition

withPfxFromFile

public WithPassword withPfxFromFile(File pfxFile)

Specifies the PFX (PKCS#12) file to get the private key content from.

Parameters:

pfxFile - a file in the PFX format

Returns:

the next stage of the definition

Throws:

java.io.IOException - when there are problems with the provided file

Applies to