Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

keys (public, private)

 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone please throw light on what are public and private keys and which of the security specs is responsible for generating what type of keys and how they are used.

Thanks in advance.

- KK
 
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Can someone please throw light on what are public and private keys


Public key and private key are a key pair that can perform operation and unopearation.

For example,
C = f(Kpub, M) and M = f(Kpri, C), where
Kpub is the public key
Kpri is the private key
M is the original message
C is the encrypted form of M

One assumption is that, given M, C, and either Kpri or Kpub, you still cannot deduce another key, as f() is usually un-reversible.


which of the security specs is responsible for generating what type of keys and how they are used.


For public key spec, please read X.509 v3.
For private key spec, please read PKCS #8.

HTH

Nick

Thanks in advance.

- KK[/QB]
 
I have always wanted to have a neighbor just like you - Fred Rogers. Tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic