/* Signature */
Signature sign = Signature.getInstance(algo, SOSSignature.provider);
/* initialis. mit prived key */
sign.initSign(privKey);
/* lesen aus fileToSign und update() */
FileInputStream fis = new FileInputStream(fileToSign);
BufferedInputStream bufin = new BufferedInputStream(fis);
byte[] buffer = new byte[1024];