In this post, .NET Code was used to encrypt data using a X509 Certificate on the local Computer, and to invoke Azure Key Vault APIs to decrypt this data.
In the sample code available in the GitHub repository here, shown is how an equivalent could be implemented in Java, using the Azure SDK for Java. (The Source file from Eclipse and the pom.xml used are provided)
Some useful links:
- Azure SDK for Java
- Other links that would be useful - Using the Java SDK for Azure Key Vault
- Documentation on the Client side Library for Java - here