PointToSiteConfiguration.UpdateStages.WithAzureCertificate Interface

public static interface PointToSiteConfiguration.UpdateStages.WithAzureCertificate

Specifies Azure certificate for authentication.

Method Summary

Modifier and Type Method and Description
abstract Update withAzureCertificate(String name, String certificateData)

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

abstract Update withAzureCertificateFromFile(String name, File certificateFile)

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

abstract Update withoutAzureCertificate(String name)

Removes attached azure certificate with specified name.

Method Details

withAzureCertificate

public abstract PointToSiteConfiguration.Update 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 update

withAzureCertificateFromFile

public abstract PointToSiteConfiguration.Update 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 update

Throws:

java.io.IOException - IOException

withoutAzureCertificate

public abstract PointToSiteConfiguration.Update withoutAzureCertificate(String name)

Removes attached azure certificate with specified name.

Parameters:

name - name of the certificate

Returns:

the next stage of the update

Applies to