Signing and signature verification on entities