throw new UnsupportedEncodingException("error while decoding the salt in username token");
}
}
salt[0] = MessageConstants.VALUE_FOR_ENCRYPTION;
try {
encSignature = pdk.generate160BitKey(password, iterations, salt);
} catch (UnsupportedEncodingException ex) {
log.log(Level.SEVERE, LogStringsMessages.WSS_1425_UNSUPPORTED_ENCODING(), ex);
throw new UnsupportedEncodingException("error while creating 128 bit key");
}
for (int i = 0; i < 16; i++) {