@@ -41,11 +41,11 @@ (OFArray OF_GENERIC(OFNumber *) *)subidentifiers { self = [super init]; @try { - if ([subidentifiers count] < 1) + if (subidentifiers.count < 1) @throw [OFInvalidFormatException exception]; switch ([[subidentifiers objectAtIndex: 0] intMaxValue]) { case 0: case 1: @@ -71,21 +71,21 @@ { void *pool = objc_autoreleasePoolPush(); OFMutableArray OF_GENERIC(OFNumber *) *subidentifiers; @try { - const unsigned char *items = [DEREncodedContents items]; - size_t count = [DEREncodedContents count]; + const unsigned char *items = DEREncodedContents.items; + size_t count = DEREncodedContents.count; uintmax_t value = 0; uint_fast8_t bits = 0; if (tagClass != OF_ASN1_TAG_CLASS_UNIVERSAL || tagNumber != OF_ASN1_TAG_NUMBER_OBJECT_IDENTIFIER || constructed) @throw [OFInvalidArgumentException exception]; - if ([DEREncodedContents itemSize] != 1 || count == 0) + if (DEREncodedContents.itemSize != 1 || count == 0) @throw [OFInvalidArgumentException exception]; subidentifiers = [OFMutableArray array]; for (size_t i = 0; i < count; i++) { @@ -99,11 +99,11 @@ @throw [OFOutOfRangeException exception]; if (items[i] & 0x80) continue; - if ([subidentifiers count] == 0) { + if (subidentifiers.count == 0) { if (value < 40) [subidentifiers addObject: [OFNumber numberWithUIntMax: 0]]; else if (value < 80) { [subidentifiers addObject: @@ -166,15 +166,15 @@ return true; } - (uint32_t)hash { - return [_subidentifiers hash]; + return _subidentifiers.hash; } - (OFString *)description { return [OFString stringWithFormat: @"", [_subidentifiers componentsJoinedByString: @"."]]; } @end