|
Posted by =?Utf-8?B?SmVzcGVy?= on January 8, 2007, 11:46 am
If you were Registered and logged in, you could reply and use other advanced thread options Like I said, but apparently not very clearly, Authenticode is a Microsoft
technology, designed to be used with code that runs natively on the Microsoft
platform. Microsoft does not provide tools to develop in Java. If you want to
sign JAR files you need to look at your Java environment and see if it lets
you do it.. There is nothing on the Microsoft platform to run JAR files, and
hence, nothing to validate the signature. That would have to be done by the
Java Runtime you are writing for.
Your other option is to package your JAR file in a CAB and sign that, but I
don't see what that will do for you.
If you really want to make use of Authenticode, write in C# instead.
"Broonie" wrote:
> Jesper,
>
> All the stuff in MSDN seems to state that Authenticode will only allow
> signing of EXEs, OCXs, CABs and DLLs. Is this the case? If so how do I
> go about signing .jar files?
>
> Cheers
>
> Craig
>
> Jesper wrote:
> > Your development environment should have some feature like that. Microsoft's
> > tools are very much geared toward signing code written in Microsoft's
> > development environment. If you search for "sign code" on MSDN you will find
> > a lot about it:
> >
http://search.msdn.microsoft.com/search/default.aspx?siteId=0&tab=0&query=sign+code.
The results include tools to sign code with that may work for you.
> >
> > "Broonie" wrote:
> >
> > > I have a Windows 2003 stand-alone certifcate server running and working
> > > fine. I use it mostly for web browser certificates but now I want to
> > > use it to sign .jar files. I see there is an advanced option when
> > > creating a certificate request in the "Type of Certificate Needed"
> > > section to choose "Code Signing Certificate". I've requested and
> > > retrieved it but that's about it. How do I now go about signing my .jar
> > > files?
> > >
> > > Cheers
> > >
> > > Craig
> > >
> > >
>
>
|