TCCEncoding_Functions

Purpose

This module supports message based encoding of certain types

Module Parameters

-

Module depends on

-

Summary
TCCEncoding_Functions This module supports message based encoding of certain types
Functions
enc_MIME_Base64 Encode message to MIME Base64 format (RFC 2045)
dec_MIME_Base64 Decode message from MIME Base64 format (RFC 2045)
enc_LDIF_Base64 Encode message to LDIF Base64 format (RFC 2849)
dec_LDIF_Base64 Decode message from LDIF Base64 format (RFC 2849)
f_encGSM7bit GSM 7-bit encoding (GSM 03.38)
f_decGSM7bit GSM 7-bit decoding (GSM 03.38)
f_enc_TBCD Encode charstring to TBCD
f_dec_TBCD Decode octetstring from TBCD encoding

Functions

enc_MIME_Base64

external function enc_MIME_Base64( in  octetstring  p_msg ) return charstring

Purpose

Encode message to MIME Base64 format (RFC 2045)

Parameters

p_msg in octetstring - message to encode

Return Value

charstring encoded message

Errors

-

Detailed description

-

dec_MIME_Base64

external function dec_MIME_Base64( in  charstring  p_b64 ) return octetstring

Purpose

Decode message from MIME Base64 format (RFC 2045)

Parameters

p_b64 in charstring - message to decode

Return Value

octetstring decoded message

Errors

-

Detailed description

-

enc_LDIF_Base64

external function enc_LDIF_Base64( in  octetstring  p_msg ) return charstring

Purpose

Encode message to LDIF Base64 format (RFC 2849)

Parameters

p_msg in octetstring - message to encode

Return Value

charstring encoded message

Errors

-

Detailed description

-

dec_LDIF_Base64

external function dec_LDIF_Base64( in  charstring  p_b64 ) return octetstring

Purpose

Decode message from LDIF Base64 format (RFC 2849)

Parameters

p_b64 in charstring - message to decode

Return Value

octetstring decoded message

Errors

-

Detailed description

-

f_encGSM7bit

function f_encGSM7bit( in universal  charstring  pl_str ) return octetstring

Purpose

GSM 7-bit encoding (GSM 03.38)

Parameters

pl_str in universal charstring - USSD string

Return value

*ocetstring* encoded string

Detailed Comments

-

f_decGSM7bit

function f_decGSM7bit( in  octetstring  pl_gsm7bit ) return universal charstring

Purpose

GSM 7-bit decoding (GSM 03.38)

Parameters

pl_gsm7bit in ocetstring - GSM 7bit encoded string

Return value

*universal charstring* decoded string

Detailed Comments

-

f_enc_TBCD

external function f_enc_TBCD( in  charstring  pl_char ) return octetstring

Purpose

Encode charstring to TBCD

Parameters

pl_char in charstring - message to encode

Return Value

octetstring TBCD encoding

Errors

-

Detailed description

-

f_dec_TBCD

external function f_dec_TBCD( in  octetstring  pl_oct ) return charstring

Purpose

Decode octetstring from TBCD encoding

Parameters

pl_oct in octetstring - message to decode

Return Value

charstring decoded message

Errors

-

Detailed description

-

external function enc_MIME_Base64( in  octetstring  p_msg ) return charstring
Encode message to MIME Base64 format (RFC 2045)
external function dec_MIME_Base64( in  charstring  p_b64 ) return octetstring
Decode message from MIME Base64 format (RFC 2045)
external function enc_LDIF_Base64( in  octetstring  p_msg ) return charstring
Encode message to LDIF Base64 format (RFC 2849)
external function dec_LDIF_Base64( in  charstring  p_b64 ) return octetstring
Decode message from LDIF Base64 format (RFC 2849)
function f_encGSM7bit( in universal  charstring  pl_str ) return octetstring
GSM 7-bit encoding (GSM 03.38)
function f_decGSM7bit( in  octetstring  pl_gsm7bit ) return universal charstring
GSM 7-bit decoding (GSM 03.38)
external function f_enc_TBCD( in  charstring  pl_char ) return octetstring
Encode charstring to TBCD
external function f_dec_TBCD( in  octetstring  pl_oct ) return charstring
Decode octetstring from TBCD encoding