This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <dependency> | |
| <groupId>com.oracle.oci.sdk</groupId> | |
| <artifactId>oci-java-sdk-common</artifactId> | |
| <version>3.21.0</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.bouncycastle</groupId> | |
| <artifactId>*</artifactId> | |
| </exclusion> | |
| </exclusions> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class GenerateUpst { | |
| private static final String CONFIG_FILE_PATH = "/function/app/config"; | |
| //THIS IS THE EPHEMERAL PUBLIC KEY FOR REQUEST SIGNING | |
| // private static final String PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArh1dTq2GdgxQEMziN8GouiVO/ytWQ9B/lQIsASYydd1PV33/tlO1FNX3ohLg3oYcja8+bDqjAAC7PRCBgEUc7+RYzM5wO6rbIS/hllczhkkLJ/9zn/ril+/+ayl4piWtmRXENq4+GBTteusqHHYI1G3a67m5w8AqX/oa9Jwj99SUPyibLwxMZS0zS5pbtWHHBhexvJfzl/unb0Y+5ZY+mEDbEs7FxyFJGm9VDIK0eMaAf22moXx1hRa0L3yYxXEr7ek2XBOfAafWS+7AHUxGMeZsX+vS5YkTsApfgKKDHwpsAgIraqL7djWTzcs8NsRJ6fZUKQjDsj4SC70OjW96fwIDAQAB"; | |
| private static final String DEMO_API_KEY_PROFILE = "UPSTJPN"; | |
| private static final String ENCRYPTION_ALGORTIHM = "RSA"; |