D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
OpenSSL
/
ASN1
/
Filename :
decode_all-c.ri
back
Copy
U:RDoc::AnyMethod[iI"decode_all:ETI"OpenSSL::ASN1::decode_all;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [ I"ESimilar to #decode with the difference that #decode expects one ;TI"Fdistinct value represented in _der_. #decode_all on the contrary ;TI"Gdecodes a sequence of sequential BER/DER values lined up in _der_ ;TI""and returns them as an array.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading: leveli: textI"Example;To:RDoc::Markup::Verbatim; [I")ders = File.binread('asn1data_seq') ;TI".asn1_ary = OpenSSL::ASN1.decode_all(ders);T:@format0: @fileI"ext/openssl/ossl_asn1.c;T:0@omit_headings_from_table_of_contents_below0I"8OpenSSL::ASN1.decode_all(der) -> Array of ASN1Data ;T0[ I" (p1);T@FI" ASN1;TcRDoc::NormalModule00