X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcasn1%2Fsilcasn1.h;h=df5bde14dab3319be604476d40de1647c15985f5;hb=d3342e968cc12587121b96d83fb4fda83f1a181f;hp=51a7015c96fb33675a85a871657b3d789c8648a1;hpb=0e0503a0c47a3950e0c8e65af965499e3ac270aa;p=silc.git diff --git a/lib/silcasn1/silcasn1.h b/lib/silcasn1/silcasn1.h index 51a7015c..df5bde14 100644 --- a/lib/silcasn1/silcasn1.h +++ b/lib/silcasn1/silcasn1.h @@ -4,7 +4,7 @@ Author: Pekka Riikonen - Copyright (C) 2003 - 2006 Pekka Riikonen + Copyright (C) 2003 - 2007 Pekka Riikonen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -666,7 +666,7 @@ SilcBool silc_asn1_decode(SilcAsn1 asn1, SilcBuffer src, ...); * * DESCRIPTION * - * Macro used to encode or decode boolean value. Type boolean type + * Macro used to encode or decode boolean value. The boolean type * is SilcBool. * * The `opts' is SilcAsn1Options. The `tag' is a tag number. @@ -829,16 +829,11 @@ SilcBool silc_asn1_decode(SilcAsn1 asn1, SilcBuffer src, ...); * DESCRIPTION * * Macro used to encode or decode octet string. The string type is - * unsigned char and string length SilcUInt32. + * unsigned char and string length SilcUInt32. Octet string is + * considered to be 8-bit unsigned binary data. * * The `opts' is SilcAsn1Options. The `tag' is a tag number. * - * NOTES - * - * The string must be in UTF-8 encoding when encoding. The decoded - * string will be in UTF-8 encoding. The actual data is encoded to - * or decoded from 8-bit ASCII. - * ***/ #define SILC_ASN1_OCTET_STRING(x, xl) SILC_ASN1_U2(OCTET_STRING, x, xl) #define SILC_ASN1_OCTET_STRING_T(o, t, x, xl) SILC_ASN1_T2(OCTET_STRING, o, t, x, xl)