Use FreenetURI.deriveRequestURIFromInsertURI to simplify OwnIdentity
constructors:
- Only require an insert URI, not a request URI
- Also fix the JavaDoc of the @throws of the second constructor, it was
incomplete
- Simplify the database integrity test
- NOTICE: This does break the build. I will commit the changes to fix it
in the following commits. Splitting this changeset up results in smaller
changelogs.
Remove pretty useless logging
Make WebOfTrust.get(Own)IdentityByURI safe for being used with insert
URIs:
- The identity ID which is derived from the URI is based upon the
routing key of the request URI so we need to convert it to a request URI
first if it is an insert URI.
- The actual change which provides this is making class IdentityID
handle insert URIs properly
- Also, this commit adds unit tests for getting an identity by insert
URI and shoving insert URIs into IdentityID