1.1 --- a/MYASN1Object.h Tue Jun 02 13:16:28 2009 -0700
1.2 +++ b/MYASN1Object.h Fri Jun 05 08:57:18 2009 -0700
1.3 @@ -9,8 +9,9 @@
1.4 #import <Foundation/Foundation.h>
1.5
1.6
1.7 -/** A generic ASN.1 data value. The BER parser instantiates these to represent parsed values that
1.8 - it doesn't know how to represent otherwise. */
1.9 +/* A generic ASN.1 data value. The BER parser instantiates these to represent parsed values that
1.10 + it doesn't know how to represent otherwise.
1.11 + This is mostly used internally by MYParsedCertificate. */
1.12 @interface MYASN1Object : NSObject
1.13 {
1.14 @private
1.15 @@ -40,22 +41,26 @@
1.16 @end
1.17
1.18
1.19 -/** An ASN.1 "big" (arbitrary-length) integer.
1.20 - The value contains the bytes of the integer, in big-endian order. */
1.21 +/* An ASN.1 "big" (arbitrary-length) integer.
1.22 + The value contains the bytes of the integer, in big-endian order.
1.23 + This is mostly used internally by MYParsedCertificate. */
1.24 @interface MYASN1BigInteger : MYASN1Object
1.25 @end
1.26
1.27
1.28 -/** An ordered string of bits, as used in ASN.1.
1.29 +/* An ordered string of bits, as used in ASN.1.
1.30 This differs from NSData in that it need not occupy a whole number of bytes;
1.31 - that is, the number of bits need not be a multiple of 8. */
1.32 + that is, the number of bits need not be a multiple of 8.
1.33 + This is mostly used internally by MYParsedCertificate. */
1.34 @interface MYBitString : NSObject
1.35 {
1.36 + @private
1.37 NSData *_bits;
1.38 NSUInteger _bitCount;
1.39 }
1.40
1.41 - (id)initWithBits: (NSData*)bits count: (NSUInteger)bitCount;
1.42 ++ (MYBitString*) bitStringWithData: (NSData*)bits;
1.43
1.44 @property (readonly, nonatomic) NSData *bits;
1.45 @property (readonly, nonatomic) NSUInteger bitCount;