Some help to get Started!! electronic voting
Hello everyone,
I have to make a project about electronic voting..
What I have to do is a server,a client and a CA server..
Actually the client and the server must be authenticated to the CA server and then send data between them..With this way I will be able to keep secret the identity of the person who vote..
I have never done anything similar before, just a server-multiclient application using just socket, not Secure Socket..
How should I do this? I have try to run an example with an echo server using a key which I made using keytool.. The CA should give a key to the client and the server? I am really lost and I have no idea how to continue with this!
Can you please give me any ideas, links to tutorials, some books titles to get started? Or some code it would be helpfull!!
Thanks in advance!
Hello everyone,
I have to make a project about electronic voting..
What I have to do is a server,a client and a CA server..
Actually the client and the server must be authenticated to the CA server and then send data between them..With this way I will be able to keep secret the identity of the person who vote..
I have never done anything similar before, just a server-multiclient application using just socket, not Secure Socket..
How should I do this? I have try to run an example with an echo server using a key which I made using keytool.. The CA should give a key to the client and the server? I am really lost and I have no idea how to continue with this!
Can you please give me any ideas, links to tutorials, some books titles to get started? Or some code it would be helpfull!!
Thanks in advance!
Similar Messages
-
Some Help to get started needed for a newbie
I am attempting to add some simple email functionality to a small utility
program I am writing in Delphi for my school. We have used Groupwise for
many years and I have programmed a bit in Delphi but mainly database work.
Can anyone tell me where to find some documentation that will help me to
get started in using the GW Tokens API with Delphi?
How do I install it?
Do I need a Type Library for it to use it effectively with Delphi?
Is there some sort of basic skeleton code that I can refer to?
I would greatly appreciate any help that anyone might offer here.
Thanks
Alan Humphriesfreemat2 wrote:
Ooops putting some info would have helped.
It will be a long hard road but..
for VB (so you will need to translate for Delphi)
Add references to Groupwise.exe to your project and Groupware type library
GWCMA1.DLL
Then this will create a new email and drop in a few addresses if supplied
(eg from your CRM)
Public Sub SendEmail(ByVal lsEmailAddress As String, ByVal lsDomain As
String, lblProgress As Label)
Dim vCommander As Object
Dim rc As Long
Dim sResult As String
Dim lsOperation As String
Dim i As Integer
Dim sUserName As String
Dim sEmailTo As String
Dim nPtr As String
Dim lsMsg As String
On Error GoTo Error_Trap
lsMsg = ""
If lsEmailAddress = "" Then
lsMsg = lsMsg & "Please supply a recipients email address" & vbCrLf
End If
If lsMsg > "" Then
lblProgress.Caption = lsMsg
MsgBox lsMsg
Exit Sub
End If
If lsDomain > "" Then
lsEmailAddress = lsEmailAddress & "@" & lsDomain
End If
Set vCommander = CreateObject("GroupwiseCommander")
DoEvents
lblProgress.Caption = "Create email"
rc = vCommander.Execute("NewMail()", sResult)
sEmailTo = lsEmailAddress
While sEmailTo > ""
nPtr = InStr(sEmailTo, ";")
If nPtr = 0 Then
sUserName = sEmailTo
sEmailTo = ""
Else
If nPtr > 1 Then
sUserName = left$(sEmailTo, nPtr - 1)
End If
If nPtr < Len(sEmailTo) Then
sEmailTo = Mid$(sEmailTo, nPtr + 1)
End If
End If
lblProgress.Caption = "Add " & sUserName
lsOperation = "TextSetTo(" & vbDoubleQuotes & sUserName &
vbDoubleQuotes & "; True) "
rc = vCommander.Execute(lsOperation, sResult)
If sResult > "" Then
MsgBox "Error adding " & sEmailTo & " ,because " & vbCrLf &
sResult
End If
Wend
lblProgress.Caption = ""
DoEvents
Exit_Proc:
Exit Sub
Error_Trap:
MsgBox "Error creating email " & vbCrLf & Err.Description
lblProgress.Caption = "Error: " & Err.Description
Resume Exit_Proc
End Sub
> Michael Risch wrote:
> > DId you look at the Groupwise developer PDF or the sample code on the
> > website? Both should be helpful.
> > [email protected] wrote in news:KSlQh.218$7e7.73@prv-
> > forum2.provo.novell.com:
> > > Thanks - this is starting to look like a long, hard road
> > >
> > > Alan Humphries
> > >
> > >> Since you are using Delphi, all I can suggest is the PDF :-(
> > >>
> > >> Never ever had any luck with early binding and Delphi
> > >>
> > >> No need to install anything besides the GW Client though
> > >>
> > >>
> > >> --
> > >> Best Regards
> > >>
> > >> Tommy Mikkelsen
> > >>
> > >> IT Quality A/S
> > >> Denmark
> > >>
> > >> Novell Developer Forums SYSOP
> > >>
> > >> Please Report back any success or failure, That way we all learn
> > >>
> > >> Sorry, but no support through email
> > >>
> > >> "I hate bugs".......Tommy Lee Jones, MIB
> > >>
> > >> Be a GroupWiseR, go http://www.groupwiser.net
> > >
> > > -
New to ID and looking for some help in getting started
Hi there,
New to ID, purchased it the other day. Working through the Adobe Creative Suite, sorted DW, FW, PS & Flash.
I have ID as and would like to do some stationery ie biz cards, letterhead creation etc.
Does anyone have any good video tutorials on this subject they could recommend.
ID 'seems' to work a little differently to how I thought, only had a little go, so think I need a little show time on how to use it.
I find Adobe go's into to much detail, I am just after the basics of stationery creation first then will work my way round to some of the other great features it seems to offer.
Many thanks in advance.Thanks gents,
Like Lynda.com. Had heard of this site but forgot to look there, some very handy stuff.
Hmmm it seems ID is a little more involved than I thought. I thought I could, I may still, get to grips with this as I have done with many other Adobe products ;-)
All I need it for is so 'I' can design and format business stationery so it coordinates with the websites I design, often a request I get asked for. While my printers are very good it can take many emails to get the design message across to them. They use ID so I 'thought' I could do the design using colors and logo's etc that I use in webdesign and then send the template they have provided for them to polish off and then print.
I'm hoping a look into Lynda.com and maybe a book or two will get me sorted with this.
Heck, if I can teach myself DW, Flash and Fireworks I'm hoping ID is no more of a challenge ;-) -
i need some help. im getting error -69 when trying to sync my ipod. i dont kno what to do. ive tried googling as much info as i can on this subject but i cant seem to find a answer to get me off to a good starting point. i back all my music up on a external hard drive.
If the file was not originally from iTunes, you'll need to redownload it from it's original source or rerip it from the CD. Files can sometimes go bad and become corrupted. As to how or why that happens, there are a number of ways.
What format are the problematic tracks in? Have you tried converting them to another format in iTunes?
iTunes: How to convert a song to a different file format
B-rock -
Hi,
What is that you are trying to accomplish ? Is it deployment or
trying to develop applications ? Are you getting any errors ? If so,
please post them to help you. I think the documentation is the best place
for you to begin with.
Regards & Happy New Year
Raj
Arif Khan wrote:
New To Iplanet app server.Can some one help me getting started by
delpoying and calling one of each of these:JSP,Servlet,EJB.Tried with
iplanet docs..didnt quite get it. thanx
Try our New Web Based Forum at http://softwareforum.sun.com
Includes Access to our Product Knowledge Base! -
Beginner to iDVD, needs basic help to get started
I am in need of help. I want to make DVDs of my old 8mm tapes. I have a Sony 8mm video camera. What do I need , like adapters, cables or cards to make this happen. I have iDVD on my system, but have never attempted anything like this before. I just recently purchased this computer. Can ya'll help me get started?
ThanksCharley,
Read this:
http://www.macworld.com/2004/05/features/fromvhstodvd/index.php
You'll just use your Sony8mm like the VHS deck.......
John B. -
Need to get back to home screen on apple tv to help get started with mirroring
Ditto.
You need to look for your itunes library under Computers and select it, then music.
Music column is for web based content not local content, just to confuse everyone.
AC -
Where can I find a beginners' step-by-step to help me get started?
I've tried reading through the entire manual... it won't help me.
Ergh.. I'm more of a visual learner, and I'd like just a small project to do to make me more familiar with final cut express 2.As others have said above, Tom Wolsky's book is by far the best, however FCE for Dummies is a very good book for just getting started. Even after several years of using FCE I still refer to my Dummies book for a quick how-to and then to Tom's book for a more in-depth how-to, why, and even better way.
There are on-line tutorials but they will cost as much or more than the book. -
New to JBoss/JMS: Help to get started
Hi,
I'm a J2EE programmer (and have been one for a while) but have never used JBoss or JMS, and need to know how JMS works in JMS, how to setup queues, monitor them (perhaps using HermesJMS), etc. I use Eclipse (new to me as well), so would like to know if I need to install the JBoss Eclipse IDE plugin, or if I could do all of this without that.
Also, to get started and understand some existing code that uses this already, what would be a quick way. Skimmed through some references but dont have much time for a steep learning curve. Thanks.
We use Tomcat (and jBPM within it) and JBoss for JMS.Hi
I would also like to add,
- I aware that all the configuration files are available under deploy/jms folder.
- jbossMQ-service.xml and uil2-service.xml files have great role to do while creating queues and creating ConnectionFactory, respectively.
But I am not able to relate all the things and not able to start with a small example, even I am not able to define QueueConnectionFactory.
I am getting error like,
Exception in thread "main" javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.jms.client.JBossConnectionFactory (no security manager: RMI class loader disabled)]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:728)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(Unknown Source)
at SendRecvClient.setupPTP(SendRecvClient.java:61)
at SendRecvClient.sendRecvAsync(SendRecvClient.java:76)
at SendRecvClient.main(SendRecvClient.java:107)
Caused by: java.lang.ClassNotFoundException: org.jboss.jms.client.JBossConnectionFactory (no security manager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
at java.rmi.server.RMIClassLoader$2.loadClass(Unknown Source)
at java.rmi.server.RMIClassLoader.loadClass(Unknown Source)
at sun.rmi.server.MarshalInputStream.resolveClass(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.rmi.MarshalledObject.get(Unknown Source)
at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652)
... 5 more
So Any startup small application along with configuration details is highly appriciated.
Regards,
Maulik -
Some help needed getting file path
I had some help earlier attaching a file to mail via a dialog. That worked great.
Now I am trying to get a particular file to attach.
The following works but if i try to dynamically define the path ie comment out line 1 and bring into the script lines 2 and 3 it only adds the folder (line one). Any ideas?
tell application "Finder" to set the_files to {alias "Alberti work:WSC projects:WSC Blue Haven 440b:Construction:Progress Certificates:440b_progress certificate_8.pdf"} --------------line 1
--set the_path to "Alberti work:WSC projects:WSC Blue Haven 440b:Construction:Progress Certificates:" as alias ---------line 2
--set attach_file to "440b_progress certificate_8.pdf" -------line 3
tell application "Finder" to set the_files to the_path & attach_file
tell application "Mail" to tell (make new outgoing message) to set visible to true
tell application "Mail"
tell front outgoing message
repeat with a_file in the_files
make new attachment with properties {file name:a_file} at after the last paragraph
end repeat
set visible to true
end tell
end tellYour problem is in the line:
<pre class=command>tell application "Finder" to set the_files to the_path & attach_file</pre>
where the_path is an alias and attach_file is a string representing the file name.
When you use the concatenate operator ( & ) with two different object classes (in this case an alias and a string), you get a list as the result, so after this line runs the_files equates to a list containing two items:
<pre class=command>{alias "Alberti work:WSC projects:WSC Blue Haven 440b:Construction:Progress Certificates:", "440b_progress certificate_8.pdf"}</pre>
There's no way that Mail.app can translate that into something that can be attached to an email message.
Instead, what you want to do is NOT define the_path as an alias, leave it as a string. Now the above line would result in one long string of the form:
<pre class=command>"Alberti work:WSC projects:WSC Blue Haven 440b:Construction:Progress Certificates:440b_progress certificate_8.pdf"</pre>
which can easily be coerced to an alias suitable for Mail.app:
<pre class=command>set the_path to "Alberti work:WSC projects:WSC Blue Haven 440b:Construction:Progress Certificates:"
set attach_file to "440b_progress certificate_8.pdf"
tell application "Finder" to set the_files to alias (the_path & attach_file)</pre> -
Hi i just need help to get my app store back i forgot my restriction password and i cant put the appstore back to the menu so ireally cant update all my apps thanks
Restore the device as new, there is no way to recover or reset the restrictions passcode.
-
Can I hire someone to help me get started creating a javascript to manage my PDF files?
I have written quite a few programs in VBA and C+. Although I have not programmed at all in Java, it seems very close to C. I simply do not know what programming/debug tool to use and how to get started.
OK, Thank you very much for taking the time to look more closely at what I need to do. Here is a pretty detailed description of what I need and again thank you for your consideration:
Job Packages or “Work specifications” are received from our authority in 15-50 page PDF files. The work specifications typically have 4 to 10 different jobs in each PDF file. Each job is several pages or more and is uniquely identified by a work number which is located on the top right corner of each page in the job. All the pages that belong to a specific job can be identified by the associated work number.
Scope of what is needed:
1. Each individual job in the Job package must be extracted (Based on its work number) and saved in a unique folder (which will already exist) with a unique name that matches the folder name.
2. Each job extracted must be printed on a specific printer or emailed to an out of office recipient. Whether the extracted file is printed or emailed is based on the parent file the extracted file came from. In other words, I intend to run this app on several PDF files. As an example, these 4 files to start:
Job Package Report – Hampton-Wmsbg – Email all files extracted to……
Job Package Report - Norfolk-VA Bch, Daily – Print all files extracted to printer IP:....
Job Package Report - Chesapeake-Chuckatuck Daily – Print all files extracted
Job Package Report - North Carolina – Email all files extracted to printer IP:...
3. On each page, where the work number appears, ( Unless the work number is marked…as existing) the work number needs to be replaced by a unique number, using a Arial black number 10 font. This number will be available in the same lookup table where all work numbers are found. An example lookup table would be:
Work # to find
Work # to replace
7639509
CG143668_2807639509
7639191
CG143669_2507639191
7639189
CG143670_2207639189
7638341
CG143671_2107638341
7635491
CG143672_2807635491
7632212
JOB ALREADY EXISTS
If the work number is marked as existing, as in job 7632212 in the table above, do not search and replace work numbers, simply go to step 4.
4. In the Header or centered in the top of each page, using Arial Black number 16 font, the same unique “Work # to replace” number needs to be printed. If that work number is marked already exists; in the Header using the same font Print “JOB ALREADY EXISTS.”
5 If a work number is not found in the work specification, the work number not found must be identified and listed in a table.
6 Likewise, any pages that have not been identified in the work specification, after the work number list has been gone through once, and all associated pages extracted, must be extracted and given a name “ pages not found” and stored in a directory called “jobs not found”.
Approach
Of course many approaches to accomplishing this are available and up to the programmer the best to perform. Additionally, it is probable many steps can be combined. For example, when searching for the work number to extract pages, the new work number can be replaced at the same time.
The end goal is to have a VBA program, embedded in an Excel file, call a Java script to open the Job Package file. The PDF file name does not change and the file will always be located in a specific directory. -
Question. Help me get started.
I have PSE7 and PSE8. I could never get my cataloge to convert or move from 7 to 8. I gave up. Now I would like to start again. I am considering purchasing PSE 11. Will my catalog in PSE 7 to convert, or migrate or what ever to PSE11? What advice is available? Is it possible to talk to a human re: purchase?
mygirlsue,
I agree with dj_paige -- You can download the 30-day free trial of Photoshop Elements 11 here:
http://www.adobe.com/go/tryphotoshop_elements/
Here are some additional resource for assistance with converting your old catalog in the new version
A nice video showing the process and best practices here: http://tv.adobe.com/watch/learn-photoshop-elements-11/importing-photos-and-videos-from-a-p revious-version/
From the PSE Help: http://help.adobe.com/en_US/elementsorganizer/using/WSae2ea3b149d0c3591ae939f103860b3d59-7 f59_WIN.html#WS3d021fd412237a2f14afb0171392eec10c6-7fff
Give it a whirl.
Regards -
New to SAP ,, Help to get started
Hi,
I am new to SAP,. I belong from java background.
Needed guidance on how to start up with it,.. any document or pdf will be of great help.
Thanks.Hi Sudha,
If you have some background in java, then you can work on Composition Environment, CAF, Webdynpro java etc..
If you specify a particular area like that then you will get a lot links for them in forum. It would be helpful if you narrow down on topic.
http://help.sap.com/saphelp_nwce10/helpdata/en/45/ff9fc1d8986c06e10000000a1553f6/frameset.htm
http://help.sap.com/saphelp_nwce10/helpdata/en/46/7895c5cb496ef0e10000000a1553f6/frameset.htm
Following above links will lead you to sap ce library there you can search whatever you want.
Hope it helps.
Reagards,
Srinivasan Subbiah -
Please help me get started... JSP
Hey, I'm brand new to web development. But I'd like to get into the field. For various reasons, I would like to start with JSP dev. I'm a C++ programmer, so concepts of OOP are not foreign to me. However, I don't have any idea as to where to start.
I have installed Forte 4.0 software, Apache-Tomcat software, Sun JDK1.3, and JRun 3.0. Now I'm stuck. Although I have set the CLASSPATH, JAVA_HOME, and TOMCAT_HOME roots, I cannot write, compile, debug, or execute JavaServer Pages.
Thank you for your time in assisting me.
MosheHi,
For debugging
=============
It seems that JSP runtime errors are impossible to debug. The exception
thrown is always in some compiled servlet code. For example
java.sql.SQLException, java.lang.ArrayIndexOutOfBoundsException,
java.lang.NullPointerException and java.lang.ClassCastException. Is it
possible to debug runtime errors, other than printing multiple checkpoint
statements, which is not an efficient method?
SOLUTION:
There are no hard and fast rules to do that. It is very dependent on
your JSP engine. In general, you need to find where your .java files
are. You need to tell your JSP engine to leave them around. By default
most engines delete them after creating the .class file. It may get
tricky, though. Some engines put your HTML text into some kind of data
structure (an object dump, basically) so it is not stored in your .class
file. This makes your class files much smaller, and the HTML is not
stored on the VM's stack. This makes it very difficult to debug.
One suggestion is to use Forte for Java to do debugging of JSP codes. It can be
downloaded and purchased from http://www.sun.com/forte. The following is
a short tutorial to demonstrate how to debug a JSP file, set breakpoints,
and watch variable content values during runtime.
1) Set the compiler property for your JSP.
- Go to the Explorer window.
- Select your JSP file.
- Set the Servlet Compiler property to Internal Compilation.
(Hint: Use the context-sensitive Properties window.)
- Set the Debugger property to Servlet/JSPDebugging.
2) Now you will debug the JSP file by setting breakpoints, watching
variables, and switching between the JSP and corresponding servlet.
Set the breakpoint in your JSP file.
- Go to the Source Editor window.
- Select a few lines to watch
- Using the context-sensitive menu (right click), select Add/Remove
Breakpoint. This line will turn red to indicate that there is a
breakpoint for this line.
3) View the breakpoints in the corresponding servlet for your JSP file.
- Go the Explorer window.
- Select your JSP file.
- Using the context-sensitive menu, select View Servlet.
You will see the corresponding servlet in the Source Editor window.
At the bottom of the Sourde Editor window, you should see two tabs,
one for JSP and another for the corresponding servlet.
- Select the servlet's tab.
- Using the context-sensitive menu, select Clone view.
You should see a separate window with the servlet code and
breakpoints. These breakpoints automatically came from the JSP
file.
- Place the JSP file and corresponding servlet window side by side so
that you can simaltaneously view the execution of JSP as well as
the servlet.
4) Select some variables to watch during the execution.
- Go the window containing the servlet's source code.
- Using the context-sensitive menu, select Add Watch.
- In the resulting dialog box, enter a variable name for the Watch
Name.
- Click on the OK button.
- To view the watch variables, go to the Main menu and select View ->
Debugger. At the bottom of the Debugger window you should see a
tab named Watches.
- Select the Watches tab.
You should see the added variables.
5) To start the debugging session, go the Main menu and select Debug ->
Start Debugging.
The execution will stop at the first breakpoint in the JSP file.
If you see the servlet code, there are also execution will stop at
the first breakpoint.
- To continue the execution, go the JSP source code in the Source
Editor window and press Control-F5 to restart the debugger.
Execution will stop at the next breakpoint. In the servlet code,
execution will also stop at the next breakpoint.
- Go to the Debugger window and select the Watches tab to view the
contents of the variables.
6) If you set any breakpoints in the servlet code, those breakpoints
will automatically appear in the JSP file.
This way, you can set breakpoints in either JSP file or corresponding
servlet.
7) While executing the JSP, observe the contents of the variables in the
Debugger window.
8) Once execution has reached its end, close the debugger by going to
the Main menu and selecting Debug -> Finish Debugging.
For more tutorials and demo, please visit:
http://www.sun.com/forte/ffj/demo/online_demo.html
http://access1.sun.com/SRDs/srd_repository/F4JCE_SRD.ps
For information and online support, please visit:
http://forte.sun.com/cgi-bin/WebX
http://www.sun.com/forte/ffj
I hope this will help you.
Thanks
Bakrudeen
Maybe you are looking for
-
I need specific directions on how to set up 2 iPads to same iTunes account.
I need specific directions on how to set up 2 iPads to 1 iTune account. I want both iPads to receive some things alike - calendar, contacts, etc. I want same book on both but to open to correct page for each iPad reader. Games on both but levels f
-
Create quotation based on notification
Hello All, Can any one tell me hwo to create quotation based on notification. I know the BAPI's BAPI_QUOTATION_CREATEFROMDATA2 has to be used to create quotation i get diffrent errors like 1) in sufficient parameters 2) Sales document was not change
-
anytime i try to create a pdf file it says error initializing JDF Library. Any help would be greatly appreciated
-
My ipod resets when listening to music
my new ipod has started to give me problems. while im listnening to music my ipod will stop playing music and a black screen will show with a spining wheel in the center then it resets and goes to the home screen. when i try to open my music again it
-
Premiere pro cs6 multicam editing
hI all! How can I do a Premiere Pro cs6 multicam editing when there is a "audio only" clip too? for exemple when there is an external service audio recording? Selecting the clips and right clic the create source multi-camera menù command is deactivat