extend object, add publicKey and signature algorithm