Data Types
Each data type of Table 1 must be sent according to the specifications below.
[INT]
Each value of this type is sent as the string representation of the corresponding int value, in decimal notation, on a single line by itself.
[INTEGER]
Each value of this type is sent exactly as an [INT] for the value of any non-null Integer. Any null Integer is represented by the string null instead of a decimal value.
[STR]
Each value of this type is sent as its String value, on a single line by itself, with the following special cases:
Each empty String, and each null String, requires two lines to be sent. In either case, the first line is an empty string, followed by an unsolicited second line in the form of an [INTEGER]. A null [INTEGER] indicates the [STR] should be interpreted as a null String; a zero value [INTEGER] indicates the [STR] should be interpreted as an empty String.
[BLN]
Each value of this type is sent as either True to denote true, or False to denote false. These values must be sent in the exact mixed-case noted.
[CEE] and [SEE]
These exception types indicate an exception has been thrown by the BasicEnrollmentManager. These are is sent by the server as a string beginning with E:CRS (in the case of [CEE]) or E:STD (in the case of
[SEE]). Either value may be followed (on the same line) by a more descriptive message for troubleshooting.
[SET-STR] and [SET-INTEGER]
Each of these return types is sent as a series of multiple lines. The first line is always an [INT] value, as described above, which specifies the number of elements that comprise the set that will follow. This value must not be less than zero; negative values are unexpected. For each specified element, exactly one [STR] value (in the case of [SET-STR]) or one [INTEGER] value (in the case of [SET-INTEGER]) is sent.