[asterisk-dev] IAX2 OSP support - issue 8531
Mikael Magnusson
mikma264 at gmail.com
Sat Apr 14 09:59:39 MST 2007
critch wrote:
> On Sat, 2007-04-14 at 08:30 -0500, Russell Bryant wrote:
>> Di-Shi Sun wrote:
>>> This is a XML format encoded OSP token sample. Size is 1392.
>>>
>> MIIEDgYJKoZIhvcNAQcCoIID/zCCA/sCAQExDjAMBggqhkiG9w0CBQUAMIIB0gYJKoZIhvcNAQcBoIIBwwSCAb88P3htbCB2ZXJzaW9uPScxLjAnPz48VG9rZW5JbmZvIHJhbmRvbT0nMjExNjknPjxTb3VyY2VJbmZvIHR5cGU9J2UxNjQnPjQwNDUyNjYwNjE8L1NvdXJjZUluZm8+PERlc3RpbmF0aW9uSW5mbyB0eXBlPSdlMTY0Jz40MDQ1MjY2MDYyPC9EZXN0aW5hdGlvbkluZm8+PENhbGxJZCBlbmNvZGluZz0nYmFzZTY0Jz5WVTVFUlVaSlRrVkU8L0NhbGxJZD48VmFsaWRBZnRlcj4yMDA2LTA5LTE4VDEzOjEzOjI2WjwvVmFsaWRBZnRlcj48VmFsaWRVbnRpbD4yMDA2LTA5LTE4VDEzOjIzOjI2WjwvVmFsaWRVbnRpbD48VHJhbnNhY3Rpb25JZD40OTA4NjMxMDE2OTA1MjE0MTEzPC9UcmFuc2FjdGlvbklkPjxVc2FnZURldGFpbD48QW1vdW50PjE0NDAwPC9BbW91bnQ+PEluY3JlbWVudD4xPC9JbmNyZW1lbnQ+PFNlcnZpY2UvPjxVbml0PnM8L1VuaXQ+PC9Vc2FnZURldGFpbD48L1Rva2VuSW5mbz6gggFkMIIBYDCCAQoCAQEwDQYJKoZIhvcNAQEEBQAwOzElMCMGA1UEAxMcb3NwdGVzdHNlcnZlci50cmFuc25leHVzLmNvbTESMBAGA1UEChMJT1NQU2VydmVyMB4XDTAyMDIwNDE4MjU1MloXDTEyMDIwMzE4MjU1MlowOzElMCMGA1UEAxMcb3NwdGVzdHNlcnZlci50cmFuc25leHVzLmNvbTESMBAGA1UEChMJT1NQU2VydmVyMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAPGeGwV41EIhX0jEDFLRXQhDEr5
0
>> OUQPq+f55VwQd0TQNts06BP29
>> +UiNdRW3c3IRHdZcJdC1Cg68ME9cgeq0h8CAwEAATANBgkqhkiG9w0BAQQFAANBAGkzBSj1EnnmUxbaiG1N4xjIuLAWydun7o3bFk2tV8dBIhnuh445obYyk1EnQ27kI7eACCILBZqi2MHDOIMnoN0xgacwgaQCAQEwQDA7MSUwIwYDVQQDExxvc3B0ZXN0c2VydmVyLnRyYW5zbmV4dXMuY29tMRIwEAYDVQQKEwlPU1BTZXJ2ZXICAQEwDAYIKoZIhvcNAgUFADANBgkqhkiG9w0BAQEFAARAQOXSPPTPn4b9dD8O0Ja8JPBj9aqyLjWC43SvLGmtEc5mFW7RD+jnaW1zTHcdzrB+WzqlJpuAaGwk5mckZnpglw==
>>
>> This is the weirdest XML I have ever seen! :)
>
> It looks to be base64 encoded based on the == on the end. But I though
> base64 encoding expected linebreaks every so often.
Not according to RFC 4648:
Implementations MUST NOT add line feeds to base-encoded data unless
the specification referring to this document explicitly directs base
encoders to add line feeds after a specific number of characters.
More information about the asterisk-dev
mailing list