Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: praneesha <[email protected]>
  • Loading branch information
ldclakmal and praneesha authored May 21, 2021
1 parent e0d3950 commit c7fdf8b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crypto-ballerina/private_public_key.bal
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
import ballerina/jballerina.java;
import ballerina/time;

# Represents the key algorithms supported.
# Represents the supported key algorithms.
public type KeyAlgorithm RSA;

# The `RSA` algorithm.
public const RSA = "RSA";

# Represents the keystore related configurations.
# Represents the keystore-related configurations.
#
# + path - Path to the KeyStore file
# + password - KeyStore password
Expand All @@ -32,7 +32,7 @@ public type KeyStore record {|
string password;
|};

# Represents the truststore related configurations.
# Represents the truststore-related configurations.
#
# + path - Path to the TrustStore file
# + password - TrustStore password
Expand Down Expand Up @@ -139,7 +139,7 @@ public isolated function decodeRsaPublicKeyFromCertFile(string certFile) returns
'class: "org.ballerinalang.stdlib.crypto.nativeimpl.Decode"
} external;

# Build the RSA public key from the given modulus and exponent parameters.
# Builds the RSA public key from the given modulus and exponent parameters.
# ```ballerina
# string modulus = "luZFdW1ynitztkWLC6xKegbRWxky...";
# string exponent = "AQAB";
Expand Down

0 comments on commit c7fdf8b

Please sign in to comment.