Unnecessary import statements removed

Especially the import sun.security.util.KeyUtil caused some trouble here.