all groups > dotnet security > july 2005 >
You're in the

dotnet security

group:

Java security api - DCE 128bit encryption with .NET



Java security api - DCE 128bit encryption with .NET RonF
7/28/2005 7:55:04 PM
dotnet security: I have a web app that currently gets the userID from a 509 client cert.
Works great.

A new client wants to interface our web app in a WebSphere Portal with a
single signon for their clients so they want to call our default page via a
post and pass the userID in an encrypted query string. Their encryption will
use a Java security api - DCE 128bit encryption.

Using ASP.NET is there a way to either call the Java API, or use an API that
is compatible with ASP.NET so that I can successfully decrypt their supplied
string? Assuming of course that we have access or know any required keys ...
our client wants to interface with our web app so the use of any of their
keys to make this happen is reasonable.

I have searched the net with the words in the subject and have not been able
to find much in the way of details of the Java API or the compatibility of
the Java and .net encryption .NET classes/APIs.

I posted this in the ASP.NET group and no one has responded ... thought I
would try here.

Any advice or suggestions would be greatly appreciated.

Thanks ...

Ron
Re: Java security api - DCE 128bit encryption with .NET RonF
7/28/2005 8:37:06 PM
Joe,

Thanks for the reply. The "DCE" thing is quoted from what I got from the
client. I looked up DCE and found the following on the java.sun.com site
related to java.util Class UUID:

UUID is a universally unique identifier. A UUID represents a 128-bit value.
There are four different basic types of UUIDs: time-based, DCE security,
name-based, and randomly generated UUIDs.

Apparently, Oracle Advanced Security supports Kerberos, CyberSafe, DCE, and
SSL-based single sign-on ... note the reference again to DCE. Websphere does
also apparently.

Beyond what I just copied above, I'm not sure how best to proceed.

Ron

[quoted text, click to view]
Re: Java security api - DCE 128bit encryption with .NET Joe Kaplan (MVP - ADSI)
7/28/2005 10:14:39 PM
I saw your post in the other newsgroup, but didn't know what this DCE thing
is. I actually did a search and didn't see anything that explained what the
encryption algorithm is. If you knew that, then you should be able do the
same thing in .NET as the major algorithms are generally available.

You might also look at the bouncy castle .NET port to see if it has support
for this DCE thing already.

Best of luck,

Joe K.

[quoted text, click to view]

Re: Java security api - DCE 128bit encryption with .NET Joe Kaplan (MVP - ADSI)
7/29/2005 10:06:10 AM
I'm guessing that it is just some sort of symmetric encryption with a shared
key at the heart of it, possibly with RC2 since it is 128 bit, but possibly
with something else (AES?). I really can't tell though.

Perhaps one of the greater crypto experts than me (which is not saying much
at all really :)) will see this post and provide some more ideas.

Joe K.

[quoted text, click to view]

Re: Java security api - DCE 128bit encryption with .NET Michel Gallant
7/29/2005 11:21:13 AM
I think that DES is the default encryption alg. used in a PART of DCE:
http://www.dsps.net/Security.html
But I really know very little about it ;-)
- Mitch

[quoted text, click to view]

AddThis Social Bookmark Button