org.neuclear.id.resolver
Class Resolver

java.lang.Object
  extended by org.neuclear.id.resolver.Resolver

public final class Resolver
extends java.lang.Object

Secure Identity resolver. To get an Identity object simply do: Identity bob=NSResolver.resolveIdentity("neu://bob@test"); To resolve an arbitrary SignedNamedObject use: SignedNamedObject obj=NSResolver.resolve("neu://bob@test/wicked");


Field Summary
static java.lang.String PKYP
           
 
Method Summary
static SignedNamedObject cache(SignedNamedObject obj)
           
static SignedNamedObject resolve(java.lang.String name)
          Retrieves the Identity object of the given name defaultstore for the given namespace.
static SignedNamedObject resolveFromCache(java.lang.String name)
           
static Identity resolveIdentity(java.lang.String name)
          Given a given URI this resolves the Identity object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PKYP

public static final java.lang.String PKYP
See Also:
Constant Field Values
Method Detail

resolveIdentity

public static final Identity resolveIdentity(java.lang.String name)
                                      throws NameResolutionException,
                                             InvalidNamedObjectException
Given a given URI this resolves the Identity object

Parameters:
name -
Returns:
Throws:
NameResolutionException
InvalidNamedObjectException

resolve

public static final SignedNamedObject resolve(java.lang.String name)
                                       throws NameResolutionException,
                                              InvalidNamedObjectException
Retrieves the Identity object of the given name defaultstore for the given namespace. This is guaranteed to be valid as it checks the signatures on each level.

Parameters:
name -
Returns:
Throws:
NameResolutionException
InvalidNamedObjectException

cache

public static SignedNamedObject cache(SignedNamedObject obj)

resolveFromCache

public static SignedNamedObject resolveFromCache(java.lang.String name)


Copyright © 2002-2004 Antilles Software Ventures SA. All Rights Reserved.