Skip to content

Commit a4dad6e

Browse files
author
root
committed
Fixing OAEP algorithm name.
1 parent 2ee1681 commit a4dad6e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/nhindirect/stagent/cryptography/bc/DirectNamedJcaJceExtHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public JceAsymmetricKeyUnwrapper createAsymmetricUnwrapper(AlgorithmIdentifier k
2727

2828
/*
2929
* For a non-BC provider, we need to map the OAEP algorithm OID to a name. Many HSMs do not recognized the algorithm OID and explicitly
30-
* need the name.
30+
* need the name. May need to get sophisticated in later versions to map names for specific HSMs.
3131
*/
3232
if (!StringUtils.isEmpty(providerName) && !providerName.equalsIgnoreCase("BC"))
3333
{

0 commit comments

Comments
 (0)