Midtown Computer Systems Enterprise

Convenient web based access to our favorite computer related Usenet groups.
MCSE.MS is not affiliated with Microsoft corporation, Cisco corporation, Oracle, CompTIA or any other vendor.
Check our Computer Hardware forum | Database help forum | Cell Phones reviews

Go Back  MCSE > Microsoft software reviews > Dot Net tutorials > .NET Security
This is Interesting: Free Computer Magazines Now Free shipping to

.NET Security microsoft.public.dotnet.security

 
 
Thread Tools Display Modes
  #1  
Old 12-01-04, 07:19 PM
Rummy Beer
Signing with CAPICOM, verifing with .NET
Hi everyone.



My question is about compatibility between CAPICOM, Biztalk and WSE. As far
as I understand, Biztalk 2004 (and predecessors) had the ability of apply
digital signatures and encryption to messages, using x509v3 certificates,
for example.



As a part of a solution we develop, we decided to use CAPICOM on the client
side because of the impact of asking our "customers" to install the
Microsoft .NET Framework was high. Besides, at that moment of time, the
version of the framework was the 1.0, WSE didn't exist, and we didn't know
how to easily implement the multiple signing (cosign in CAPI) and encryption
(with the limited capacity of the framework), so we decided to use CAPI.



On the Biztalk side (our company) we tried to use Biztalk 2002 and a CAPI
Interop, but it didn't behave well, on some circumstances it just crash
everything and we deduced that it was a multithreading issue (and the fact
that a PIA doesn't exist for CAPI, why?). So we were forced to take CAPI out
of Biztalk and put it "in front" of it, so that this service receives the
packages decrypted and verified.



To make it short, we want to change this solution and incorporate the
decryption functionality into Biztalk, but with our client applications
still using CAPICOM. That's why I've mentioned WSE 2.0, because it gives a
lot of signing and encrypting functionality, but I believe that it's not
compatible with the methods that CAPI uses to provide multiple signing or...



Any idea or comment would be appreciated.



Rummy.



  #2  
Old 12-30-04, 04:05 PM
Hex Hex is offline
Junior Member
Join Date: Dec 2004
Re: Signing with CAPICOM, verifing with .NET
Wait until .NET 2.0, the WSE 1.0/2.0 does not support private keys. You can't load or import the private key from any certificate using the intrinsic functionality. This will be possible in .NET 2.0, but it is not supported for now, basically making all signing impossible with a fixed (registry loaded) certificate.  You can sign with a randomly generated RSA key, but not one stored in a file or in the System.

-Hex
-MCSD vb6
  #3  
Old 01-03-05, 07:20 PM
Rummy Beer
Re: Signing with CAPICOM, verifing with .NET
Thanx for the advice, Hex.

Rummy.

"Hex" <Hex.1i3qyr@mail.mcse.ms> wrote in message
news:Hex.1i3qyr@mail.mcse.ms...
>
> Wait until .NET 2.0, the WSE 1.0/2.0 does not support private keys. You
> can't load or import the private key from any certificate using the
> intrinsic functionality. This will be possible in .NET 2.0, but it is
> not supported for now, basically making all signing impossible with a
> fixed (registry loaded) certificate. You can sign with a randomly
> generated RSA key, but not one stored in a file or in the System.
>
> -Hex
> -MCSD vb6
>
>
>
> --
> Hex
> ------------------------------------------------------------------------
> Posted via http://www.mcse.ms
> ------------------------------------------------------------------------
> View this thread: http://www.mcse.ms/message1260905.html
>



 


Popular forums
A+ (A Plus) Windows 2000 Active directory Exchange 2000 information store
Network+ Windows XP Security Exchange 2000 server administration
MCSE .NET Web services SQL Server
Cisco certification ASP .NET SQL 2000 Programming
Windows 2000 Registry .NET XML Viruses


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:04 PM.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright MCSE braindumps 2003-2006