My application adds certificates and sigital signatures to the
MsgKeyData on the publishing side and retries these entries on a
subscribing client. 

Now, certificats contain \n characters when being published, and I
noticed that upon being delivered to a subscriber, all \n are replaced
with whitespaces (although I use CDATA . see below). Is there a way to
preserve entries that contain \n in MsgKeyData ?

--- String id is being passed to PublishKey.setClientTags () -----

        String id = 
            " <io_identifier> "+
            "    <type name='"+typename_+"'></type> "+
            "    <version number='"+version_+"'></version> "+
            " </io_identifier> " +
            " <![CDATA["+
            " <io_signatures> "+
            "    <certificate cert='"+cert+"'></certificate> "+
            "    <metadata 
signature='"+SecurityComponent.signatureToString(meta_sig)+"'></metadata> " +
            "    <payload 
signature='"+SecurityComponent.signatureToString(payload_sig)+"'></payload> " +
            "    <sigsig 
signature='"+SecurityComponent.signatureToString(sigsig_sig)+"'></sigsig> " +
            " </io_signatures> "+
            " ]]>";
        
-- 
[EMAIL PROTECTED]   BBN Technologies

Reply via email to