Archive for June, 2011

Calculating MD5 hash for a File

Below Code can be used for calculating md5 hash of a file. It uses 2 libraries from apache commons project. One is common-codec and other one is commons-io. package com.wordpress.narendrakadali.utils; import; import; import; import; import; /** * @author narendra */ public class Main { /** * @param args */ public […]

Leave a comment


Sign SAML Assertion using OpenSAML

Hi All, After long time I am posting some useful stuff to my blog. In this post I am trying to write code for signign assertion which is generated by OpenSAML ans signing is aslo performed by OpenSAML API’s. Generating SAML assertion code can be found at The code below uses keystore and x509 […]

, , , ,