D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
OpenSSL
/
ASN1
/
Constructive
/
Filename :
cdesc-Constructive.ri
back
Copy
U:RDoc::NormalClass[iI"Constructive:ETI" OpenSSL::ASN1::Constructive;TI"OpenSSL::ASN1::ASN1Data;To:RDoc::Markup::Document:@parts[o;;[ : @fileI"$ext/openssl/lib/openssl/asn1.rb;T:0@omit_headings_from_table_of_contents_below0o;;[o:RDoc::Markup::Paragraph;[I"KThe parent class for all constructed encodings. The _value_ attribute ;TI"Fof a Constructive is always an Array. Attributes are the same as ;TI"2for ASN1Data, with the addition of _tagging_.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading: leveli: textI"SET and SEQUENCE;T@o;;[I"IMost constructed encodings come in the form of a SET or a SEQUENCE. ;TI"FThese encodings are represented by one of the two sub-classes of ;TI"Constructive:;To:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o;;[I"OpenSSL::ASN1::Set;To;;0;[o;;[I"OpenSSL::ASN1::Sequence;To;;[I"DPlease note that tagged sequences and sets are still parsed as ;TI"Binstances of ASN1Data. Find further details on tagged values ;TI"there.;T@S; ;i;I"&Example - constructing a SEQUENCE;To:RDoc::Markup::Verbatim;[I")int = OpenSSL::ASN1::Integer.new(1) ;TI"5str = OpenSSL::ASN1::PrintableString.new('abc') ;TI"<sequence = OpenSSL::ASN1::Sequence.new( [ int, str ] ) ;T:@format0S; ;i;I"!Example - constructing a SET;To;;[I")int = OpenSSL::ASN1::Integer.new(1) ;TI"5str = OpenSSL::ASN1::PrintableString.new('abc') ;TI"1set = OpenSSL::ASN1::Set.new( [ int, str ] );T;0; I"ext/openssl/ossl_asn1.c;T; 0; 0; 0[ [ [[I"TaggedASN1Data;To;;[ ; @; 0I"$ext/openssl/lib/openssl/asn1.rb;T[I"Enumerable;To;;[ ; @; 0@E[[I" class;T[[:public[ [:protected[ [:private[ [I" instance;T[[;[[I" each;T@E[I"to_der;TI"ext/openssl/ossl_asn1.c;T[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0; 0[@@=I"OpenSSL::ASN1;TcRDoc::NormalModule