Class: RASN1::Types::VisibleString

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

Overview

ASN.1 Visible String

VisibleString may only contain ASCII characters from range 32 to 126.

Author:

  • LemonTree55

Since:

  • 0.3.0

  • 0.15.0 VisibleString is defined as a constrained IA5String. It will now raise if value contains a non-visible character.

Constant Summary collapse

ID =

VisibleString id value

Since:

  • 0.3.0

26

Class Method Summary collapse

Class Method Details

.typeString

Get ASN.1 type

Returns:

  • (String)

Author:

  • Sylvain Daubert

Since:

  • 0.3.0



25
26
27
# File 'lib/rasn1/types/visible_string.rb', line 25

def self.type
  'VisibleString'
end