Module Net::BER::Extensions::String
In: lib/net/ber/core_ext/string.rb

BER extensions to the String class.

Methods

Public Instance methods

Nondestructively reads a BER object from this string.

Destructively reads a BER object from the string.

Converts a string to a BER string. Universal octet-strings are tagged with 0x04, but other values are possible depending on the context, so we let the caller give us one.

User code should call either to_ber_application_string or to_ber_contextspecific.

Creates an application-specific BER string encoded value with the provided syntax code value.

Creates a context-specific BER string encoded value with the provided syntax code value.

[Validate]