question: protected void incorporateDigestMethod ( final Element parentDom , final DigestAlgorithm digestAlgorithm ) { final Element digestMethodDom = documentDom . createElementNS ( XMLNS , DS_DIGEST_METHOD ) ; final String digestAlgorithmXmlId = digestAlgorithm . getXmlId ( ) ; digestMethodDom . setAttribute ( ALGORITHM , digestAlgorithmXmlId ) ; parentDom . appendChild ( digestMethodDom ) ; }
target:  This method creates the ds:DigestMethod DOM object