public long calculateHeight ( ImprintNode node , IdentityMetadata metadata ) throws HashException , KSIException { return calculateHeight ( aggregate ( node , metadata ) ) ; }
Calculates the height of the hash tree in case a new node with metadata would be added .