@@ -17,10 +17,11 @@ #include "config.h" #import "OFASN1Value.h" #import "OFData.h" +#import "OFString.h" #import "OFInvalidFormatException.h" @implementation OFASN1Value @synthesize tagClass = _tagClass, tagNumber = _tagNumber; @@ -113,6 +114,19 @@ - (id)copy { return [self retain]; } + +- (OFString *)description +{ + return [OFString stringWithFormat: + @"", + _tagClass, _tagNumber, _constructed, + [_DEREncodedContents description]]; +} @end