D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
OpenSSL
/
ASN1
/
ASN1Data
/
Filename :
infinite_length-i.ri
back
Copy
U:RDoc::Attr[iI"infinite_length:ETI",OpenSSL::ASN1::ASN1Data#infinite_length;TI"RW;T:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"GNever +nil+. A boolean value indicating whether the encoding uses ;TI"Iindefinite length (in the case of parsing) or whether an indefinite ;TI"7length form shall be used (in the encoding case). ;TI"KIn DER, every value uses definite length form. But in scenarios where ;TI"Klarge amounts of data need to be transferred it might be desirable to ;TI"4have some kind of streaming support available. ;TI"JFor example, huge OCTET STRINGs are preferably sent in smaller-sized ;TI"chunks, each at a time. ;TI"HThis is possible in BER by setting the length bytes of an encoding ;TI"Eto zero and by this indicating that the following value will be ;TI"Isent in chunks. Indefinite length encodings are always constructed. ;TI"FThe end of such a stream of chunks is indicated by sending a EOC ;TI"K(End of Content) tag. SETs and SEQUENCEs may use an indefinite length ;TI"Fencoding, but also primitive types such as e.g. OCTET STRINGS or ;TI"CBIT STRINGS may leverage this functionality (cf. ITU-T X.690).;T: @fileI"$ext/openssl/lib/openssl/asn1.rb;T:0@omit_headings_from_table_of_contents_below0F@I"OpenSSL::ASN1::ASN1Data;TcRDoc::NormalClass0