[foaf-protocols] Debugging results
nathan at webr3.org
Mon Aug 2 00:32:59 CEST 2010
Henry Story wrote:
> On 2 Aug 2010, at 00:12, Nathan wrote:
>> why not just:
>> rsa:modulus "FDB6FB1159710EAEEC69BEE94..."^^xsd:hexBinary ;
>> rsa:public_exponent "65537"^^xsd:nonNegativeInteger .
>> out of interest - never quite understood the cert:xxx's tbh.
> The reasons are documented in the ontology. So please give us feedback on the reasons you find there.
hmmm.. actually we've had this conversation before and I totally forgot
- memory loss, do disregard.
> xsd:hexBinary is not a number but a binary string. Given that the maths of rsa and dsa are all in terms of integer arithemetic, adding a binary format intermediary seemed unecessary.
> You can use xsd:nonNegativeInteger, and xsd:int and cert:hex, and in the future
> cert:base64 if needed. Those are all ways of expressing integer numbers.
> See the Java code here for inspiration on how one can write this out
> Not that the code is a bit more complex because we are still dealing with the
> deprecated cert:hex and cert:decimal *properties*! But that is currently what most
> people have produced.
More information about the foaf-protocols