private void getMessageDigestMD5 ( ) throws AttributeNotFoundException { if ( MBeans . messageDigestMD5 == null ) { try { MBeans . messageDigestMD5 = MessageDigestUtility . createMessageDigest ( "MD5" ) ; } catch ( NoSuchAlgorithmException e ) { Tr . error ( tc , "DYNA1044E" , new Object [ ] { e . getMessage ( ) } ) ; throw new AttributeNotFoundException ( "Message digest for MD5 is not available. " + e . getMessage ( ) ) ; } } }
create messageDigest for MD5 algoritm if it is not created .