sahul wrote:
> File usercertFile=new File("C:/Documents and
> Settings/Desktop/Certificates/aaa.cer");
> attributes.put("userCertificate",usercertFile);

You can't add the File object to the attributes, but the content of the
file as byte[]. You could use
  org.apache.commons.io.FileUtils.readFileToByteArray(File)
to read the file.

Kind Regards,
Stefan

Reply via email to