Class: RASN1::Types::VisibleString

Inherits:
IA5String show all
Defined in:
lib/rasn1/types/visible_string.rb

Overview

ASN.1 Visible String

Author:

  • Sylvain Daubert

Constant Summary collapse

TAG =
26

Constants inherited from Primitive

Primitive::ASN1_PC

Constants inherited from Base

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

Instance Attribute Summary

Attributes inherited from Base

#asn1_class, #default, #name, #value

Class Method Summary collapse

Methods inherited from OctetString

#inspect

Methods inherited from Base

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

Constructor Details

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

Class Method Details

.typeString

Get ASN.1 type

Returns:

  • (String)


11
12
13
# File 'lib/rasn1/types/visible_string.rb', line 11

def self.type
  'VisibleString'
end