Differences From Artifact [32a8246549]:
- File src/OFASN1Value.m — part of check-in [d3207b2a3d] at 2018-10-13 22:58:53 on branch trunk — OFASN1*: Add -[description] (user: js, size: 2969) [annotate] [blame] [check-ins using]
To Artifact [9c63414e2b]:
- File
src/OFASN1Value.m
— part of check-in
[b1944fd052]
at
2018-10-27 13:01:38
on branch trunk
— Do not subclass OFASN1Value
The reason for this is that OFASN1Value requires an initializer for DER
encoding, however, it might be beneficial to create an ASN.1 type
without providing DER encoding for it. (user: js, size: 2930) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
108 109 110 111 112 113 114 | OF_HASH_ADD_HASH(hash, [_DEREncodedContents hash]); OF_HASH_FINALIZE(hash); return hash; } | < < < < < | 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | OF_HASH_ADD_HASH(hash, [_DEREncodedContents hash]); OF_HASH_FINALIZE(hash); return hash; } - (OFString *)description { return [OFString stringWithFormat: @"<OFASN1Value:\n" @"\tTag class = %x\n" @"\tTag number = %x\n" @"\tConstructed = %u\n" @"\tDER-encoded contents = %@\n" @">", _tagClass, _tagNumber, _constructed, [_DEREncodedContents description]]; } @end |