Class: NMEAPlus::Message::AIS::VDMPayload::VDMMsg8USCGEncrypted

Inherits:
VDMMsg8DynamicPayload show all
Defined in:
lib/nmea_plus/message/ais/vdm_payload/vdm_msg8d366f56.rb

Overview

Basic decoding of “blue force” encrypted binary messages. Note that this module is incapable of decrypting the messages. It can only deocde and return the encrypted payload to be decrypted elsewhere.

Direct Known Subclasses

VDMMsg8d366f56, VDMMsg8d366f57

Instance Attribute Summary collapse

Attributes inherited from Payload

#fill_bits, #payload_bitstring

Method Summary

Methods inherited from Payload

#_2b_data_string, #_6b_ascii, #_6b_boolean, #_6b_integer, #_6b_integer_scaled, #_6b_integer_scaled_shifted, #_6b_negated_boolean, #_6b_string, #_6b_string_nullterminated, #_6b_unsigned_integer, #_6b_unsigned_integer_scaled, #_6b_unsigned_integer_scaled_shifted, #_8b_data_string, #_access, #_bit_slices, #_get_date_mdhm, #_object_by_name, #initialize, payload_reader

Constructor Details

This class inherits a constructor from NMEAPlus::Message::AIS::VDMPayload::Payload

Instance Attribute Details

#encrypted_data_2bObject (readonly)

Returns The field defined by the 952 bits starting at payload bit 56, formatted with the function Payload#_d(, , ).

Returns:

  • The field defined by the 952 bits starting at payload bit 56, formatted with the function Payload#_d(, , )



12
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg8d366f56.rb', line 12

payload_reader :encrypted_data_2b, 56, 952, :_d

#encrypted_data_6bObject (readonly)

Returns The field defined by the 952 bits starting at payload bit 56, formatted with the function Payload#_6b_string(, , ).

Returns:

  • The field defined by the 952 bits starting at payload bit 56, formatted with the function Payload#_6b_string(, , )



13
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg8d366f56.rb', line 13

payload_reader :encrypted_data_6b, 56, 952, :_6b_string

#encrypted_data_8bObject (readonly)

Returns The field defined by the 952 bits starting at payload bit 56, formatted with the function Payload#_8b_data_string(, , ).

Returns:

  • The field defined by the 952 bits starting at payload bit 56, formatted with the function Payload#_8b_data_string(, , )



14
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg8d366f56.rb', line 14

payload_reader :encrypted_data_8b, 56, 952, :_8b_data_string