Created
April 22, 2019 19:17
-
-
Save davidoevans/77236c6a1c3751fd0993785d40e4da74 to your computer and use it in GitHub Desktop.
Create a PortageClient
This file contains 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
// Load PKCS12 cer/key bundle from store | |
byte[] pharmacyCertificate = ReadFile("my-test-pharmacy-cert.pfx"); | |
// Create a PortageClient instance on the https://testnet.healthchain.ca environment | |
PortageClient pharmacyLocationClient = new PortageClient("testnet"); | |
// Configure the PortageClient with the application credentials | |
pharmacyLocationClient.setApplication(pharmacyCertificate, "passphrase"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment