class PrivateKeyDB {

    private PrivateKeyDB() {
    }

    /**
     * returns public private key for application
     *
     * @return app key values
     */
    public static ApplicationKey getApplicationKey() throws SQLException, GeneralSecurityException {<FILL_FUNCTION_BODY>}
}


        ApplicationKey appKey = null;

        Connection con = DBUtils.getConn();

        PreparedStatement stmt = con.prepareStatement("select * from  application_key");

        ResultSet rs = stmt.executeQuery();

        while (rs.next()) {

            appKey = new ApplicationKey();
            appKey.setId(rs.getLong("id"));
            appKey.setPassphrase(EncryptionUtil.decrypt(rs.getString("passphrase")));
            appKey.setPrivateKey(EncryptionUtil.decrypt(rs.getString("private_key")));
            appKey.setPublicKey(rs.getString("public_key"));

        }
        DBUtils.closeRs(rs);
        DBUtils.closeStmt(stmt);
        DBUtils.closeConn(con);

        return appKey;
    
<no_super_class>