class AppContext implements Serializable {

    public void setPrivateKey(PrivateKey privateKey) {
        Util.check(privateKey!=null, "privateKey!=null");
        this.privateKey = privateKey;
    }

}