Branch: Tag:

2003-01-28

2003-01-28 22:58:56 by Martin Nilsson <mani@lysator.liu.se>

Added another useless string encoding, VisibleString, because it is one of the few ones that has an example in the spec.

Rev: lib/modules/Standards.pmod/ASN1.pmod/Types.pmod:1.27

1:   // - // $Id: Types.pmod,v 1.26 2003/01/27 02:46:27 nilsson Exp $ + // $Id: Types.pmod,v 1.27 2003/01/28 22:58:56 nilsson Exp $   //      //! Encodes various asn.1 objects according to the Distinguished
253:      // FIXME: What is the DER-encoding of TRUE???   // According to Jan Petrous, the LDAP spec says that 0xff is right. + // No, every nonzero value is true according to the ASN1 spec, + // but they use 0xff as example of a true value. /Nilsson      //! boolean object   class Boolean
1040:   }      //! + class VisibleString { +  inherit String; +  constant tag = 26; +  constant type_name = "VisibleString"; + } +  + //!   class UTC   {    inherit String;