new(p1, p2, p3) public

value: Please have a look at Constructive and Primitive to see how Ruby types are mapped to ASN.1 types and vice versa.

tag: An Integer indicating the tag number.

tag_class: A Symbol indicating the tag class. Please cf. ASN1 for possible values.


asn1_int =, 2, :UNIVERSAL) # => Same as
tagged_int =, 0, :CONTEXT_SPECIFIC) # implicitly 0-tagged INTEGER
Show source
Register or log in to add new notes.