Class: RASN1::Types::Boolean

Inherits:
Primitive show all
Defined in:
lib/rasn1/types/boolean.rb

Overview

ASN.1 Boolean

Constant Summary collapse

TAG =

Boolean tag value

0x01
DER_TRUE =
0xff
DER_FALSE =
0

Constants inherited from Primitive

Primitive::ASN1_PC

Constants inherited from Base

RASN1::Types::Base::CLASSES, RASN1::Types::Base::CLASS_MASK, RASN1::Types::Base::INDEFINITE_LENGTH, RASN1::Types::Base::MAX_TAG, RASN1::Types::Base::UNDUPPABLE_TYPES

Instance Attribute Summary

Attributes inherited from Base

#asn1_class, #default, #name, #value

Method Summary

Methods inherited from Base

#==, #constructed?, encode_type, #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