question: private String trimPrefix ( String val ) { if ( ( val != null ) && ( val . startsWith ( WSSEConstants . NS_X509 ) || val . startsWith ( WSSEConstants . NS_SMS ) ) ) { return val ; } int pos = val . indexOf ( ":" ) ; if ( pos == - 1 ) { return val ; } else if ( pos == val . length ( ) ) { return "" ; } else { return val . substring ( pos + 1 ) ; } }
target:  trim prefix and get the value, e.g, for wsse:X509v3 will return X509v3 