Chapter 2 Algorithm Info Types 207
AI_RFC1113Recode
AI_RFC1113Recode
Purpose:
This AI allows you to convert data from binary format to ASCII characters, and vice
versa, as defined by RFC 1113.
Type of information this allows you to use:
the binary to printable recoding algorithm as defined by RFC 1113; see also RFC 1421
for updated version of the standard.
Format of info supplied to B_SetAlgorithmInfo:
NULL_PTR.
Format of info returned by B_GetAlgorithmInfo:
NULL_PTR.
Crypto-C procedures to use with algorithm object:
B_EncodeInit, B_EncodeUpdate, B_EncodeFinal, B_DecodeInit, B_DecodeUpdate, and
B_DecodeFinal.
Output considerations:
When encoding, for each 3 bytes of input there are 4 bytes of output. When decoding,
for each 4 bytes of input there are 3 bytes of output.