public Pbes2HmacShaWithAesKeyWrapAlgorithm(String alg, String hmacAlg, AesKeyWrapManagementAlgorithm keyWrapAlg)
{
setAlgorithmIdentifier(alg);
setJavaAlgorithm("n/a");
pbkdf2 = new PasswordBasedKeyDerivationFunction2(hmacAlg);
setKeyPersuasion(KeyPersuasion.SYMMETRIC);
setKeyType(PbkdfKey.ALGORITHM);
keyWrap = keyWrapAlg;
keyWrapKeyDescriptor = new ContentEncryptionKeyDescriptor(keyWrap.getKeyByteLength(), AesKey.ALGORITHM);
}