Skip to content

Commit 48248b2

Browse files
author
madison
committed
Fixing default Luna Cipher name for OAEP.
1 parent 8ef05c1 commit 48248b2

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
@@ -72,7 +72,7 @@ else if (algorithm.equals(OIWObjectIdentifiers.idSHA1.getId()))
7272
retVal.setAlgorithmMapping(PKCSObjectIdentifiers.id_RSAES_OAEP, "RSA/None/OAEPWithSHA-1AndMGF1Padding");
7373
}
7474
else {
75-
retVal.setAlgorithmMapping(PKCSObjectIdentifiers.id_RSAES_OAEP, "RSA/None/OAEPWithSHA1AndMGF1Paddingg");
75+
retVal.setAlgorithmMapping(PKCSObjectIdentifiers.id_RSAES_OAEP, "RSA/None/OAEPWithSHA1AndMGF1Padding");
7676
}
7777
}
7878
}

0 commit comments

Comments
 (0)