@@ -14,20 +14,21 @@ * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFObject.h" +#import "OFASN1DERRepresentation.h" #import "OFASN1Value.h" OF_ASSUME_NONNULL_BEGIN @class OFData; /*! * @brief An ASN.1 BitString. */ -@interface OFASN1BitString: OFObject +@interface OFASN1BitString: OFObject { OFData *_bitStringValue; size_t _bitStringLength; } @@ -39,15 +40,10 @@ /*! * @brief The length of the BitString in bits. */ @property (readonly, nonatomic) size_t bitStringLength; -/*! - * @brief The BitString in DER encoding. - */ -@property (readonly, nonatomic) OFData *DEREncodedValue; - /*! * @brief Creates an ASN.1 BitString with the specified BitString value and * length. * * @param bitStringValue The value of the BitString