PointToSiteConfiguration.DefinitionStages.WithAzureCertificate<ParentT> Interface

Type Parameters

ParentT

the stage of the parent definition to return to after attaching this definition

public static interface PointToSiteConfiguration.DefinitionStages.WithAzureCertificate

The stage of the point-to-site configuration definition allowing to add root certificate for Azure authentication.

Method Summary

Modifier and Type Method and Description
abstract WithAttachAndAzureCertificate<ParentT> withAzureCertificate(String name, String certificateData)

Specifies that Azure certificate authentication type will be used and certificate to use for Azure authentication.

abstract WithAttachAndAzureCertificate<ParentT> withAzureCertificateFromFile(String name, File certificateFile)

Specifies that Azure certificate authentication type will be used and certificate to use for Azure authentication.

Method Details

withAzureCertificate

public abstract PointToSiteConfiguration.DefinitionStages.WithAttachAndAzureCertificate withAzureCertificate(String name, String certificateData)

Specifies that Azure certificate authentication type will be used and certificate to use for Azure authentication.

Parameters:

name - name of certificate
certificateData - the certificate public data

Returns:

the next stage of the definition

withAzureCertificateFromFile

public abstract PointToSiteConfiguration.DefinitionStages.WithAttachAndAzureCertificate withAzureCertificateFromFile(String name, File certificateFile)

Specifies that Azure certificate authentication type will be used and certificate to use for Azure authentication.

Parameters:

name - name of certificate
certificateFile - public Base64-encoded certificate file

Returns:

the next stage of the definition

Throws:

java.io.IOException - IOException

Applies to