Hi - it looks like DolphinSure is out-of-date with the current String implementation in Dolphin 7.1.
This an be fixed by modifying the DolphinSureCertificateInfo class method binaryReadFrom:context: changing the reference to #String to #AnsiString :
binaryReadFrom: aStream context: anObject
"Answers an instance of this class from its binary STB representation on aStream. Because STB is inherently an insecure format
we must use an STBInFiler that especially guarded with a ValidatingClassLocator to that only expected, non-dangerous
classes can be loaded from the STB stream."
| inFiler validClasses |
validClasses := (Set new)
add: #Date;
add: #AnsiString; "<- change here"
add: #LargeInteger;
add: #SmallInteger;
add: self name;
yourself.
inFiler := (STBValidatingInFiler on: aStream)
validationBlock: [:className | validClasses identityIncludes: className];
context: anObject;
yourself.
^inFiler next
The initial part of the example should then work OK. However there look to be further errors when working through the examples in the Workspace that opens. I've raised an issue for these on the Dolphin GitHub repository:
https://github.com/dolphinsmalltalk/Dolphin/issues/1169
Cheers,
John Aspinall