Serial Key Missing A Number
I'm trying to get serial number from a X.509 Cert. When i compare the Serial number generated by my code with the actual serial number(on windows), leading zeroes of the actual serial number(of the X509 cert) are missing.
Any suggestions or alternative ways to get the serial number of the x.509 cert in hex with the leading zeroes??
Below is the code segment which I'm currently using:
Find Your Model/Serial Number. SentrySafe is committed to providing you the support you need. To find your model or serial number, identify your safe type from the options below. Lost Your Key or Combination? Select your country below to view possible retrieval methods. Key & Combo Replacement Process US. Key & Combo Replacement Process UK.
1 Answer
BigInteger
has a toByteArray()
method that re-adds the leading 00s: Simple home budget worksheet.
Now you have several ways to convert the byte array to a hex string:
For example with Apache commons codec:
Find Missing Keys
Not the answer you're looking for? Browse other questions tagged javax509java-security or ask your own question.
Possible Duplicate:
How can I reinstall Windows 7 if I lost my installation DVD?
Edit: The answer was to find the Serial number first using a serial number finder utility. The possible duplicate was missing the additional condition that the serial number was missing.
I have Activated Windows 7 on my PC, But lost the CD and Serial number.I need to reinstall Windows 7, I (hope) can borrow a Windows 7 DVD somehow, but how do I get my original serial number, I have the product key as shown in System Properties.
Thanks for any ideas
marked as duplicate by nhinkle♦Jan 16 '12 at 3:39
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
3 Answers
Product Key Finder from Dave Hope is quite good at finding what you're looking for.
MitchMitchDownload and install this http://www.freewarefiles.com/LicenseCrawler_program_44343.html
The program will list all your serial number in your computer including windows serial.
Graw 2 serial key pc. You can leave your team by the big tree as you snipe all the red diamonds from far away. More will appear as you start firing, but just take your time and you will win.
Another way to do is, if you bought the windows yourself and still have proof of purchase then you can call up microsoft and ask for serial.
Download and run produkey http://www.nirsoft.net/utils/product_cd_key_viewer.html
Once you have the key you should be able to borrow a DVD however if it doesn't work try to get a DVD from the same manufacturer. If you bought it from off a self you will need a DVD also bought off the shelf.