Programming Assignment


We will be using Java support for managing and working with digital certificates and key pairs.


"keytool" is a key and certificate management utility. It enables users to create and manage their own public/private key pairs and certificates for use in self-authentication and for encrypting and authenticating data. You are expected to do the following:

Examine the keytool tool from Java (link), and how it works. Use the tool to generate a certificate with public and private keys. Make sure you put your full name as the "common name" of the certificate, and your student ID as the "organization unit".. Use "DSA 1024-bit algorithm" for generating the keys.

import my certificate (link) into the keytool.

Write Java code to retrieve my public key and the private key from the keystore you created in (1). Use these keys to (1) encrypt this file (link) using my public key (RSA-2048 bit) then (2) digitally sign the result using sha1DSA signature algorithm. Save the digital signature output on a file called "[url removed, login to view]".

Export your certificate to Microsoft .cer format.


You should handle input and output files as a series of bytes.

This is sample code (link) for accessing the Keystore from Java.

To simplify things, use the Java "Signature" class.


You may use a different programming language than Java and a different crypto library, but you are expected to submit the same results as above. Make sure you mention the tools you used in your submission.

Here are instructions (link) to help you deal with RSA 2048 in Java.

In the default way the RSA is used, a 2048-key will allow you to encrypt 245 bytes. To encrypt the given file, you can divide the file into chunks each 245 bytes and encrypt each, or apply the "data envelope technique", just make sure you document what you used in the Readme file.

note : I want it in 4 hour

Habilidades: Java

Veja mais: write programming code, working certificate sample, what programming language is this, what programming language, what is your full name, what is programming language, what is java programming used for, what is c programming used for, what is a programming language, what is a programming algorithm, what is a library in programming, what is algorithm in programming, what is a class in programming, what is a algorithm in programming, what can you do with programming, what can you do with java programming, use of algorithm in programming, the java programming language, self programming language, self programming, sample of working certificate, public programming, programming what is a class, programming tools, programming technique

Acerca do Empregador:
( 1 comentário ) RIYADH, Saudi Arabia

ID do Projeto: #6800622

Concedido a:


safkljslkfhlksjdf f'gd;fkhl;fl;h h;;fljhlf f'[login to view URL] jgkldjkg jgdkl fkgjl fg klfkgl;kfdjljfkds klsfjklshfksf k

$30 USD em 1 dia
(0 Comentários)

6 freelancers estão ofertando em média $26 para esse trabalho


A proposal has not yet been provided

$10 USD em 1 dia
(1 Comentário)

A proposal has not yet been provided

$25 USD em 1 dia
(2 Comentários)

We are Egyptian team, and i am sure that you will get our work is a great as you expect, all of team have a diploma in javaSE, JavaEE, JavaFX using many technologies like Struts1, Struts2, Hibernate, JPA, Spring, Sprin Mais

$50 USD in 5 dias
(0 Comentários)

I have worked extensively on security and cryptography. I have good knowledge in Public Key Infrastructure and digital signatures. I have worked on Bouncy Castle, IS networks JCE providers. I will be able to complete t Mais

$25 USD em 1 dia
(0 Comentários)

I have already done a good work on this cryptography in java. I will be able to match your expectations in terms of functionality, code and time.

$15 USD em 1 dia
(0 Comentários)