question: private int parseKeyProviderInfo ( final byte [ ] b , final int off ) throws ParseException { final int bytesToParseLen = b . length - off ; if ( bytesToParseLen >= keyProviderInfoLen_ ) { keyProviderInfo_ = Arrays . copyOfRange ( b , off , off + keyProviderInfoLen_ ) ; return keyProviderInfoLen_ ; } else { throw new ParseException ( "Not enough bytes to parse key provider info" ) ; } }
target:  Parse the key provider info in the provided bytes. It looks for bytes of size defined by the key provider info length in the provided bytes starting at the specified off. <p> If successful, it returns the size of the parsed bytes which is the key provider info length. On failure, it throws a parse exception.