Class: RASN1::Types::Primitive Abstract

Inherits:
Base
  • Object
show all
Defined in:
lib/rasn1/types/primitive.rb

Overview

This class is abstract.

This class SHOULD be used as base class for all ASN.1 primitive types.

Author:

  • Sylvain Daubert

Constant Summary collapse

ASN1_PC =

Primitive value

0x00

Constants inherited from Base

Base::CLASSES, Base::CLASS_MASK, Base::INDEFINITE_LENGTH, Base::MULTI_OCTETS_ID

Instance Attribute Summary

Attributes inherited from Base

#asn1_class, #default, #name, #options

Method Summary

Methods inherited from Base

#==, #can_build?, constrained?, #constructed?, #do_parse_explicit_with_tracing, #do_parse_with_tracing, encoded_type, #explicit?, #id, #implicit?, #initialize, #initialize_copy, #inspect, #optional?, parse, #parse!, #primitive?, #specific_initializer, start_tracing, stop_tracing, #tagged?, #to_der, #trace, #type, type, #value, #value=, #value?, #value_size, #void_value

Constructor Details

This class inherits a constructor from RASN1::Types::Base