U:RDoc::AnyMethod[iI" traverse:ETI"OpenSSL::ASN1::traverse;TT: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"JIf a block is given, it prints out each of the elements encountered. ;TI"*Block parameters are (in that order):;To:RDoc::Markup::List: @type: BULLET: @items[ o:RDoc::Markup::ListItem: @label0; [o; ; [I"`depth: The recursion depth, plus one with each constructed value being encountered (Number);To;;0; [o; ; [I")offset: Current byte offset (Number);To;;0; [o; ; [I"Theader length: Combined length in bytes of the Tag and Length headers. (Number);To;;0; [o; ; [I"Elength: The overall remaining length of the entire data (Number);To;;0; [o; ; [I"Dconstructed: Whether this value is constructed or not (Boolean);To;;0; [o; ; [I"*tag_class: Current tag class (Symbol);To;;0; [o; ; [I""tag: The current tag (Number);To:RDoc::Markup::BlankLineS:RDoc::Markup::Heading: leveli: textI" Example;To:RDoc::Markup::Verbatim; [ I"(der = File.binread('asn1data.der') ;TI"fOpenSSL::ASN1.traverse(der) do | depth, offset, header_len, length, constructed, tag_class, tag| ;TI"B puts "Depth: #{depth} Offset: #{offset} Length: #{length}" ;TI"k puts "Header length: #{header_len} Tag: #{tag} Tag class: #{tag_class} Constructed: #{constructed}" ;TI"end;T: @format0: @fileI"ext/openssl/ossl_asn1.c;T:0@omit_headings_from_table_of_contents_below0I")OpenSSL::ASN1.traverse(asn1) -> nil ;T0[I" (p1);T@>FI" ASN1;TcRDoc::NormalModule00