D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
OpenSSL
/
ASN1
/
ASN1Data
/
Filename :
new-c.ri
back
Copy
U:RDoc::AnyMethod[iI"new:ETI"!OpenSSL::ASN1::ASN1Data::new;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"O_value_: Please have a look at Constructive and Primitive to see how Ruby ;TI"4types are mapped to ASN.1 types and vice versa.;To:RDoc::Markup::BlankLine o; ; [I"1_tag_: An Integer indicating the tag number.;T@o; ; [I"I_tag_class_: A Symbol indicating the tag class. Please cf. ASN1 for ;TI"possible values.;T@S:RDoc::Markup::Heading: leveli: textI"Example;To:RDoc::Markup::Verbatim; [I"easn1_int = OpenSSL::ASN1Data.new(42, 2, :UNIVERSAL) # => Same as OpenSSL::ASN1::Integer.new(42) ;TI"_tagged_int = OpenSSL::ASN1Data.new(42, 0, :CONTEXT_SPECIFIC) # implicitly 0-tagged INTEGER;T:@format0: @fileI"$ext/openssl/lib/openssl/asn1.rb;T:0@omit_headings_from_table_of_contents_below0I"DOpenSSL::ASN1::ASN1Data.new(value, tag, tag_class) => ASN1Data ;T0[ I"(value, tag, tag_class);T@FI" ASN1Data;TcRDoc::NormalClass00