Added signature.clear
Added sign which takes publicKeyDer and privateKeyDer