File: C:/Ruby27-x64/share/ri/2.7.0/system/OpenSSL/ASN1/Primitive/new-c.ri
U:RDoc::AnyMethod[iI"new:ETI""OpenSSL::ASN1::Primitive::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"_value_: is mandatory.;To:RDoc::Markup::BlankLine o;
; [I"I_tag_: optional, may be specified for tagged values. If no _tag_ is ;TI"Kspecified, the UNIVERSAL tag corresponding to the Primitive sub-class ;TI"is used by default.;T@o;
; [I"I_tagging_: may be used as an encoding hint to encode a value either ;TI"<explicitly or implicitly, see ASN1 for possible values.;T@o;
; [ I"G_tag_class_: if _tag_ and _tagging_ are +nil+ then this is set to ;TI"H+:UNIVERSAL+ by default. If either _tag_ or _tagging_ are set then ;TI"L+:CONTEXT_SPECIFIC+ is used as the default. For possible values please ;TI"cf. ASN1.;T@S:RDoc::Markup::Heading:
leveli: textI"Example;To:RDoc::Markup::Verbatim; [I"*int = OpenSSL::ASN1::Integer.new(42)
;TI"Dzero_tagged_int = OpenSSL::ASN1::Integer.new(42, 0, :IMPLICIT)
;TI"^private_explicit_zero_tagged_int = OpenSSL::ASN1::Integer.new(42, 0, :EXPLICIT, :PRIVATE);T:@format0:
@fileI"ext/openssl/ossl_asn1.c;T:0@omit_headings_from_table_of_contents_below0I"SOpenSSL::ASN1::Primitive.new(value [, tag, tagging, tag_class ]) => Primitive
;T0[ I"$(p1, p2 = v2, p3 = v3, p4 = v4);T@%FI"Primitive;TcRDoc::NormalClass00