public int getDigestOffset ( int algorithm , byte [ ] handshake , int bufferOffset ) { switch ( algorithm ) { case 1 : return getDigestOffset2 ( handshake , bufferOffset ) ; default : case 0 : return getDigestOffset1 ( handshake , bufferOffset ) ; } }
Returns the digest offset using current validation scheme .