Ciekawostki po świętach   Leave a comment

  1. jQuery ma swoje efekty specjalne:
    1. spotllight – oświetlenie punktowe – http://www.gilbertpellegrom.co.uk/demo/jquery-spotlight/
    2. przykłady  – gołe fakty świadczące o użyteczności tej biblioteki z impressiveweb
  2. Tzw. cheat sheets – ściągu do różnych języków i bibliotek:
    1. http://www.quicklycode.com/
    2. http://www.backtoessentials.com/tools/40-useful-print-ready-cheat-sheet-for-web-developers/
  3. Yahoo – rozwija swoją bibliotekę – http://www.yuiblog.com/blog/2010/03/31/announcing-yui-3-1-0/
  4. Ciekawy developer – http://blueonionsoftware.com/blog.aspx?c=4 – sztuczka z podłączeniem się do powłoki shell
  5. Zwierzenia programisty w języku C – http://www.dadhacker.com/blog/?p=1132 – “Template meta-programming is a great example of people being clever without being responsible.”
  6. Ciężkie programownanie w technologii PInvoke – http://www.codeguru.com/csharp/csharp/cs_misc/com/article.php/c9065__2/
  7. Przykład tworzenia aplikacji:
    1. (prosty ale wiele praktycznych uwag np. o bezpieczeństwie – http://css-tricks.com/app-from-scratch-8-finishing/)
    2. http://tutorialzine.com/2010/03/ajax-todo-list-jquery-php-mysql-css/
  8. Fajna stronka o css – http://css-tricks.com/
  9. Hunlock – klasyka –“tłucze” JSON-a – http://www.hunlock.com/blogs/Mastering_JSON_(_JavaScript_Object_Notation_)
  10. Ciężkie WCF:
    1. http://peterbernhardt.wordpress.com/2009/08/31/wcf-and-was-and-alternate-protocols/
    2. korzystanie z x.509 – http://peterbernhardt.wordpress.com/2008/09/09/security-and-identity-in-wcf-part-4-using-x-509-certificates/
    3. http://icoder.wordpress.com/2007/06/22/how-to-setup-a-wcf-service-using-basic-http-bindings-with-ssl-transport-level-security/
  11. Podpisy:
    1. PDF – http://stackoverflow.com/questions/2147732/how-to-digitally-sign-pdf-documents-in-a-web-application
    2. http://stackoverflow.com/questions/2096905/serial-number-of-a-x-509-certificate
    3. Bonnie – http://www.we-coffee.com/knowledge/BIB_R5YWR.aspx
    4. http://stackoverflow.com/questions/1995757/digital-signature-detached-pkcs7-to-xml-dsig – “
    5. Due to the nature of both digital signature formats XML and PKCS#7, it is not possible to convert from one to the other.

      In a very simplified explanation, the signature in PKCS#7 format contains, among other stuff, some specific data structure called DigestInfo that contains the data digest and an OID (object identifier), and has been ciphered with the user’s private key. The XML-Dsig format applies the final step of the cryptographic algorithm (again with the user’s private key) to a different data value calculated from digesting the original XML data and some specific XML-DSig data structures. Therefore, since both ciphered values will not be the same, it is only possible to generate the XML-DSig signature by signing the data with the user’s private key, which you will not have access to (thus the name private).

      From that explanation, the answer to your first question is "No, there is no smooth option, it is not possible at all".

      Therefore the only option is to generate the XML-DSig directly at the client side. That is not possible using standard Javascript, definitely not with Firefox’s window.crypto (which only generates PKCS7 detached signatures). At my company (www.isigma.es), we solve that by using an applet, it is a common solution in the digital signature industry (there are many commercial and also some open source solutions). That may not be an option in your case, if you do not want browser plugins.

      CAPICOM (the windows-based active/X component that you may use in a Microsoft setup) also does not generate XML-DSig, only CMS/PKCS”

    6. http://stackoverflow.com/questions/2534127/converting-a-byte-array-to-a-x-509-certificate

Posted 6 Kwiecień 2010 by marekwmsdn in Developerka

Skomentuj

Wprowadź swoje dane lub kliknij jedną z tych ikon, aby się zalogować:

Logo WordPress.com

Komentujesz korzystając z konta WordPress.com. Log Out / Zmień )

Zdjęcie z Twittera

Komentujesz korzystając z konta Twitter. Log Out / Zmień )

Facebook photo

Komentujesz korzystając z konta Facebook. Log Out / Zmień )

Google+ photo

Komentujesz korzystając z konta Google+. Log Out / Zmień )

Connecting to %s

%d bloggers like this: