Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8333847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T03:09:32+00:00 2026-06-09T03:09:32+00:00

I want a user to sign a document using asymetric key. I read the

  • 0

I want a user to sign a document using asymetric key.

I read the tut here http://docs.oracle.com/javase/tutorial/security/toolfilex/index.html

I don’t understand why the tut requested to put the doc in a jar and afterwards sign the jar. How can I do this at runtime for a user who would upload any document to sign if I need to put it in a jar ?

Is there any other tut from SUN to do a real digital signature ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T03:09:35+00:00Added an answer on June 9, 2026 at 3:09 am

    Your question is answered in the introduction page of the tutorial. You would indeed use an API rather than the JDK tools (which are designed to sign jar files) to do such a thing in an application, at runtime:

    You can use the JDK Security API, tools, or a combination to generate
    keys and signatures and to import certificates. You can use these API
    or tool features to securely exchange documents with others. To use
    the tools for document exchange, the document(s) must be placed in a
    JAR (Java ARchive) file, which may be created by the jar tool.

    […]

    The Generating and Verifying Signatures shows you how to use the JDK
    Security API to sign documents.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Am using the Devise plugin for user sign-in. I want to to display an
i want to send an email to user after he sign-up with code.for ex
I want a simple sign in app in which a user logins successfully if
I want to let a user sign in before seeing pages. Is there any
For a game, I want to count the number of user sign-ups by hour
String + if user click the + sign i want to show some oder
I want the user to be able to Single-Sign-On, i.e. once logged on as
I have a domain http://abc.com and a subdomain http://sub.abc.com . I'm implementing single sign-on
I am using this method to allow the user to sign on to facebook
I want user to type some text in JTextField and it must match some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.