Interface PointToSiteConfiguration.UpdateStages.WithAzureCertificate
- All Known Subinterfaces:
PointToSiteConfiguration.Update, PointToSiteConfiguration.UpdateStages.WithAuthenticationType
- Enclosing interface:
PointToSiteConfiguration.UpdateStages
public static interface PointToSiteConfiguration.UpdateStages.WithAzureCertificate
Specifies Azure certificate for authentication.
-
Method Summary
Modifier and TypeMethodDescriptionwithAzureCertificate(String name, String certificateData) Specifies that Azure certificate authentication type will be used and certificate to use for Azure authentication.withAzureCertificateFromFile(String name, File certificateFile) Specifies that azure certificate authentication type will be used and certificate to use for Azure authentication.Removes attached azure certificate with specified name.
-
Method Details
-
withAzureCertificate
Specifies that Azure certificate authentication type will be used and certificate to use for Azure authentication.- Parameters:
name- name of certificatecertificateData- the certificate public data- Returns:
- the next stage of the update
-
withAzureCertificateFromFile
PointToSiteConfiguration.Update withAzureCertificateFromFile(String name, File certificateFile) throws IOException Specifies that azure certificate authentication type will be used and certificate to use for Azure authentication.- Parameters:
name- name of certificatecertificateFile- public Base64-encoded certificate file- Returns:
- the next stage of the update
- Throws:
IOException- the IO Exception
-
withoutAzureCertificate
Removes attached azure certificate with specified name.- Parameters:
name- name of the certificate- Returns:
- the next stage of the update
-