class EncryptedRawTransaction implements Serializable {

    public RawTransaction toRawTransaction() {
        return new RawTransaction(
                this.encryptedPayload, this.encryptedKey, new Nonce(this.nonce), PublicKey.from(this.sender));
    }

    public  EncryptedRawTransaction(
            final MessageHash hash,
            final byte[] encryptedPayload,
            final byte[] encryptedKey,
            final byte[] nonce,
            final byte[] sender);
    public  EncryptedRawTransaction();

}