I have written a DataHandler for multipart/signed ...
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Godson_Menezes
Posted On:   Sunday, May 28, 2000 07:25 PM

I have written a DataHandler for multipart/signed messages. However, I am unable to obtain the value of micalg field from the following Content-Type header of a Message. Content-Type: multipart/signed; micalg=SHA1; protocol="application/x-pkcs7-signature"; boundary="----=_NextPart_000_003B_01BFC4EE.6292ED80" The DataHandler's getContent(DataSource ds) receives the data source of type MultipartDataSource. When I query ds.getContentType() the returned string is multipart/signed; boundary="----=_NextPart_000_003B_01BFC4EE.6292ED80" How do I get the value of micalg here?    More>>

I have written a DataHandler for multipart/signed messages.
However, I am unable to obtain the value of micalg field from
the following Content-Type header of a Message.

			
				Content-Type: multipart/signed;
				
micalg=SHA1;
protocol="application/x-pkcs7-signature";
boundary="----=_NextPart_000_003B_01BFC4EE.6292ED80"



The DataHandler's getContent(DataSource ds) receives the
data source of type MultipartDataSource. When I
query ds.getContentType() the returned string is

			multipart/signed; boundary="----=_NextPart_000_003B_01BFC4EE.6292ED80"
		


How do I get the value of micalg here?

   <<Less
About | Sitemap | Contact