Class: RASN1::Types::Utf8String

Inherits:
OctetString show all
Defined in:
lib/rasn1/types/utf8_string.rb

Overview

ASN.1 UTF8 String

Author:

  • Sylvain Daubert

Constant Summary collapse

ID =

Utf8String id value

12

Constants inherited from Primitive

Primitive::ASN1_PC

Constants inherited from Base

Base::CLASSES, Base::CLASS_MASK, Base::INDEFINITE_LENGTH, Base::MULTI_OCTETS_ID

Instance Attribute Summary

Attributes inherited from Base

#asn1_class, #default, #name, #options

Class Method Summary collapse

Methods inherited from OctetString

#inspect

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, #value, #value=, #value?, #value_size, #void_value

Constructor Details

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

Class Method Details

.typeString

Get ASN.1 type

Returns:

  • (String)


13
14
15
# File 'lib/rasn1/types/utf8_string.rb', line 13

def self.type
  'UTF8String'
end