Class: RASN1::Types::Boolean
- Defined in:
- lib/rasn1/types/boolean.rb
Overview
ASN.1 Boolean
Constant Summary collapse
- ID =
Boolean id value
0x01
- DER_TRUE =
0xff
- DER_FALSE =
0
Constants inherited from Primitive
Constants inherited from Base
RASN1::Types::Base::CLASSES, RASN1::Types::Base::CLASS_MASK, RASN1::Types::Base::INDEFINITE_LENGTH, RASN1::Types::Base::MULTI_OCTETS_ID
Instance Attribute Summary
Attributes inherited from Base
#asn1_class, #default, #name, #options
Instance Method Summary collapse
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
Constructor Details
This class inherits a constructor from RASN1::Types::Base
Instance Method Details
#void_value ⇒ false
17 18 19 |
# File 'lib/rasn1/types/boolean.rb', line 17 def void_value false end |