Skip to content

Commit

Permalink
Add configurable variables for crypto keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuvindu committed Oct 13, 2023
1 parent 35a7188 commit 358ce76
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ import ballerina/soap;
import ballerina/soap:soap12;
public function main() returns error? {
crypto:PrivateKey clientPrivateKey = ...//
crypto:PublicKey clientPublicKey = ...//
​​crypto:PublicKey serverPublicKey = ...//
configurable crypto:PrivateKey clientPrivateKey = ?;
configurable crypto:PublicKey clientPublicKey = ?;
configurable ​crypto:PublicKey serverPublicKey = ?;
soap12:Client soapClient = check new ("http://www.dneonline.com/calculator.asmx?WSDL",
{
Expand Down
6 changes: 3 additions & 3 deletions ballerina/Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ import ballerina/soap;
import ballerina/soap:soap12;
public function main() returns error? {
crypto:PrivateKey clientPrivateKey = ...//
crypto:PublicKey clientPublicKey = ...//
​​crypto:PublicKey serverPublicKey = ...//
configurable crypto:PrivateKey clientPrivateKey = ?;
configurable crypto:PublicKey clientPublicKey = ?;
configurable ​crypto:PublicKey serverPublicKey = ?;
soap12:Client soapClient = check new ("http://www.dneonline.com/calculator.asmx?WSDL",
{
Expand Down
6 changes: 3 additions & 3 deletions ballerina/Package.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ import ballerina/soap;
import ballerina/soap:soap12;
public function main() returns error? {
crypto:PrivateKey clientPrivateKey = ...//
crypto:PublicKey clientPublicKey = ...//
​​crypto:PublicKey serverPublicKey = ...//
configurable crypto:PrivateKey clientPrivateKey = ?;
configurable crypto:PublicKey clientPublicKey = ?;
configurable ​crypto:PublicKey serverPublicKey = ?;
soap12:Client soapClient = check new ("http://www.dneonline.com/calculator.asmx?WSDL",
{
Expand Down

0 comments on commit 358ce76

Please sign in to comment.