Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
josecorella committed Nov 8, 2024
1 parent fc6c9a9 commit c320fe5
Show file tree
Hide file tree
Showing 6 changed files with 783 additions and 589 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ public class TestKmsEcdhKeyringExample {

@Test
public void TestKmsEcdhKeyringExampleStatic() {
// You may provide your own ECC public keys at EXAMPLE_ECC_PUBLIC_KEY_SENDER_FILENAME
// and EXAMPLE_ECC_PUBLIC_KEY_RECIPIENT_FILENAME.
// You may provide your own ECC public keys at
// - EXAMPLE_ECC_PUBLIC_KEY_SENDER_FILENAME
// - EXAMPLE_ECC_PUBLIC_KEY_RECIPIENT_FILENAME.
// If you provide these, the keys MUST be on curve P256
// This must be the public key for the ECC key represented at eccKeyArn
// If this file is not present, this will write a UTF-8 encoded PEM file for you.
if (shouldGetNewPublicKeys()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public void TestStaticRawEcdhKeyringExample() {
// You may provide your own ECC Key pairs in the files located at
// - EXAMPLE_ECC_PRIVATE_KEY_FILENAME_SENDER
// - EXAMPLE_ECC_PUBLIC_KEY_FILENAME_RECIPIENT
// If you provide this, the keys MUST be on curve P256
// If these files are not present, this will generate a pair for you.
// For this example we will use the curve P256.
if (RawEcdhKeyringExample.shouldGenerateNewEccKeyPairs()) {
Expand All @@ -31,6 +32,7 @@ public void TestStaticRawEcdhKeyringExample() {
public void TestEphemeralRawEcdhKeyringExample() {
// You may provide your own ECC Public Key in the files located at
// - EXAMPLE_ECC_PUBLIC_KEY_FILENAME_RECIPIENT
// If you provide this, the keys MUST be on curve P256
// If these files are not present, this will generate a pair for you.
// For this example we will use the curve P256.
if (RawEcdhKeyringExample.shouldGenerateNewEccKeyPairs()) {
Expand All @@ -50,6 +52,7 @@ public void TestDiscoveryRawEcdhKeyringExample() {
// You may provide your own ECC Public Key in the files located at
// - EXAMPLE_ECC_PUBLIC_KEY_FILENAME_RECIPIENT
// - EXAMPLE_ECC_PRIVATE_KEY_FILENAME_RECIPIENT
// If you provide this, the keys MUST be on curve P256
// If these files are not present, this will generate a pair for you.
// For this example we will use the curve P256.
if (RawEcdhKeyringExample.shouldGenerateNewEccKeyPairs()) {
Expand Down
Loading

0 comments on commit c320fe5

Please sign in to comment.