-
March 11th, 2010, 05:40 AM
#1
Help regarding Windows Crypt API's
Hi please somebody help me with decoding H225 signalling messages. I am getting the encoded bytes over TCP. I used MSDN sample code of ByteToStr() to convert those byte buffer into Hex string.
Now i need to convert this ASN encoded string into actual H255 signal messages. I'm working on an H323 project.
I found an MSDN article on ASN1 decoding using CryptDecodeMessage() API, but i'm not getting result after trying their sample code.
http://msdn.microsoft.com/en-us/libr...76(VS.85).aspx
Thanks in advance.
"I studied everything but never topped. Today, toppers of the world's best universities are my employees"
-William Henry Gates (Bill Gates)
-
March 11th, 2010, 08:48 AM
#2
Re: Help regarding Windows Crypt API's
I believe the ByteToStr function is only used to show a binary buffer in user-readable format (hex). Are you trying to decrypt the stream before or after calling ByteToStr?
-
March 12th, 2010, 12:40 AM
#3
-
March 12th, 2010, 08:21 AM
#4
Re: Help regarding Windows Crypt API's
I'm not familiar with this particular implementation, but in general, the ByteToStr() is only used to make a human-readable representation of the data. This is so it can be attached to email or other text-based protocols without being scrambled by text conversions or 7-bit ascii pipes. All actual encryption/decryption should be done on the binary stream.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|