Gupta Singh

Greenhorn
+ Follow
since Feb 25, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Gupta Singh

To pick up where this leaves off, I am stuck trying to implement a solution for our ERP system where I can store the PGP block of encoded key material in the DB, retrieve said key text, create a key from the text and use that key to encrypt data. The problem I am facing is that we won't be using a Key Ring file on the server and only want to work from the encoded key text.

I can not find any way to create a PGPPublicKey from the encoded key text. Can someone help me connect the dots? I've read Beginning Crypto and have worked with the BC examples, but everything I find always uses a Key ring file. There's got to be a way to do it, I just don't see it.

Thanks in advance for your help.

GS
14 years ago
You are correct. If there is no body, then the container will only return SKIP_BODY.

Charles Lyons wrote:There are other options if you don't happen to like HFSJ! That's why you were provided with the SCWCD Links reference. Why would you say there are no other "real" options?




You're right. I bought the HF book based on my earlier good experiences with the brand and without doing due diligence looking into the quality.

There are other options, I just did not search them out. Silly me.

Thanks for setting me straight.

sridhar row wrote:
D is also correct. TLDs can be in META-INF or a subdirectory of META-INF if deployed in a JAR.



Not in this case. Option D refers to the top-level META-INF, the sibling to WEB-INF as noted by the '/'. The META-INF you are refering to is the lower-level META-INF directory found inside .jar files.

Be careful. The HF S&J book is FULL of errors. Look at the errata for it on Oreilly.com. Questions cover information not in the book, numerous solutions are wrong, etc. It reads like a rough draft that wasn't ready to print, but was rushed through to meet a deadline.

I don't think K&B actually wrote any of this book. I'm pretty sure Bryan Basham wrote it and got K&B to sign onto it. It is not nearly as good as HF Java, HF OOA&D or HF Design Patterns.

You can also read the reviews on Amazon. Unfortunately, there aren't any other real options for SCWCD, but just don't expect a book nearly as good as the SCJP book which I loved.

I'm not a book basher, but this one needs help.