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

Direct Known Subclasses

BitString, Boolean, Integer, Null, ObjectId, OctetString

Constant Summary collapse

ASN1_PC =

Primitive value

0x00

Constants inherited from Base

Base::CLASSES, Base::INDEFINITE_LENGTH, Base::MAX_TAG

Instance Attribute Summary

Attributes inherited from Base

#asn1_class, #default, #name, #value

Method Summary

Methods inherited from Base

#==, #constructed?, #explicit?, #implicit?, #initialize, #initialize_copy, #inspect, #optional?, parse, #parse!, #primitive?, #tag, #tagged?, #to_der, #type, type, #value_size

Constructor Details

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