src/com/makina/security/OpenFIPS201/TLVReader.java
public boolean find (byte tag) {
        while ((short)(context[CONTEXT_POSITION] - context[CONTEXT_POSITION_RESET]) < context[CONTEXT_LENGTH]) {
            // Is this our tag number?
            if (tag == getTag()) return true;

            // Skip to the next tag at this level (i.e. it will not descend into children)
            if (!moveNext()) return false;
        }

        // We didn't find the requested tag;
        return false;
    }
/**
     * Finds a tag in the currently active TLV object
     * @param tag The tag to find
     * @return True if the requested tag was found before the end of the buffer was reached
     */
Finds a tag in the currently active TLV object
@param tag The tag to find
@return True if the requested tag was found before the end of the buffer was reached
Finds a tag in the currently active TLV object @param tag The tag to find @return True if the requested tag was found before the end of the buffer was reached
public boolean find (byte tag) {
        while ((short)(context[CONTEXT_POSITION] - context[CONTEXT_POSITION_RESET]) < context[CONTEXT_LENGTH]) {
            if (tag == getTag()) return true;
            if (!moveNext()) return false;
        }
        return false;
    }
public boolean find ( byte tag ) { while ( ( short ) ( context [ CONTEXT_POSITION ] - context [ CONTEXT_POSITION_RESET ] ) < context [ CONTEXT_LENGTH ] ) { if ( tag == getTag ( ) ) return true ; if ( ! moveNext ( ) ) return false ; } return false ; }
Finds a tag in the currently active TLV object
 @param tag The tag to find
 @return True if the requested tag was found before the end of the buffer was reached
Finds a tag in the currently active TLV object @param tag The tag to find @return True if the requested tag was found before the end of the buffer was reached
// Is this our tag number? // Skip to the next tag at this level (i.e. it will not descend into children) // We didn't find the requested tag;