2222import org .bouncycastle .asn1 .pkcs .PKCSObjectIdentifiers ;
2323import org .bouncycastle .crypto .CipherParameters ;
2424import org .bouncycastle .crypto .PasswordConverter ;
25+ import org .bouncycastle .internal .asn1 .iana .IANAObjectIdentifiers ;
2526import org .bouncycastle .jcajce .PBKDF2Key ;
2627import org .bouncycastle .jcajce .provider .config .ConfigurableProvider ;
2728import org .bouncycastle .jcajce .provider .symmetric .util .BCPBEKey ;
@@ -44,10 +45,13 @@ public class PBEPBKDF2
4445 prfCodes .put (PKCSObjectIdentifiers .id_hmacWithSHA224 , Integers .valueOf (PBE .SHA224 ));
4546 prfCodes .put (PKCSObjectIdentifiers .id_hmacWithSHA384 , Integers .valueOf (PBE .SHA384 ));
4647 prfCodes .put (PKCSObjectIdentifiers .id_hmacWithSHA512 , Integers .valueOf (PBE .SHA512 ));
48+ prfCodes .put (PKCSObjectIdentifiers .id_hmacWithSHA512_224 , Integers .valueOf (PBE .SHA512_224 ));
49+ prfCodes .put (PKCSObjectIdentifiers .id_hmacWithSHA512_256 , Integers .valueOf (PBE .SHA512_256 ));
4750 prfCodes .put (NISTObjectIdentifiers .id_hmacWithSHA3_256 , Integers .valueOf (PBE .SHA3_256 ));
4851 prfCodes .put (NISTObjectIdentifiers .id_hmacWithSHA3_224 , Integers .valueOf (PBE .SHA3_224 ));
4952 prfCodes .put (NISTObjectIdentifiers .id_hmacWithSHA3_384 , Integers .valueOf (PBE .SHA3_384 ));
5053 prfCodes .put (NISTObjectIdentifiers .id_hmacWithSHA3_512 , Integers .valueOf (PBE .SHA3_512 ));
54+ prfCodes .put (IANAObjectIdentifiers .hmacRIPEMD160 , Integers .valueOf (PBE .RIPEMD160 ));
5155 prfCodes .put (GMObjectIdentifiers .hmac_sm3 , Integers .valueOf (PBE .SM3 ));
5256 }
5357
0 commit comments