# frozen_string_literal: true

# This file is part of RASN1
# See https://codeberg.org/lemontree55/rasn1 for more informations
# Copyright (C) 2016-2024 Sylvain Daubert <sylvain.daubert@laposte.net>
# Copyright (C) 2024 LemonTree55 <lenontree@proton.me>
# This program is published under MIT license.

module RASN1
  module Types
    # @abstract This class SHOULD be used as base class for all ASN.1 primitive
    #  types.
    # This class is base class for all ASN.1 primitive types. A primitive type is not {Constructed}, or it cannot
    # be broken down into more primitive types.
    #
    # Please note that a primitive type (b.e. {OctetString OCTET STRING}) may be set as constructed, to advertise it contains ASN.1 encoded data.
    # @author Sylvain Daubert
    class Primitive < Base
      # Primitive value
      ASN1_PC = 0x00
    end
  end
end
