Skip to content

Commit

Permalink
✅ Add Multiline Statement Test
Browse files Browse the repository at this point in the history
  • Loading branch information
gilday committed Jun 26, 2024
1 parent 843648d commit ac345b2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,8 @@ public class Test {
log.info("Remote auth settings for " + fetchSettings(securityToken));
}

public void multiline(final String privateKeyId) {
var key = lookupPrivateKeyFromKeyChain(privateKeyId);
decrypt(key);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,12 @@ public class Test {
log.info("Remote auth settings for " + fetchSettings(securityToken));
}

public void multiline(final String privateKeyId) {
var key = lookupPrivateKeyFromKeyChain(privateKeyId);
logger.info("Retrieved Private Key {}\nalgo: {}\nkey: {}",
key.getId(),
key.getAlgorithm(),
key.getEncoded());
decrypt(key);
}
}

0 comments on commit ac345b2

Please sign in to comment.