Module | Net::BER::Extensions::String |
In: |
lib/net/ber/core_ext/string.rb
|
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.
Converts a string to a BER string but does not encode to UTF-8 first. This is required for proper representation of binary data for Microsoft Active Directory
Creates a context-specific BER string encoded value with the provided syntax code value.