net.cnri.dobj
Interface DOAuthentication

All Known Implementing Classes:
AbstractAuthentication, PKAuthentication, ProxiedAuthentication, SecretKeyAuthentication

public interface DOAuthentication

Interface for objects that can be used to authenticate themselves to the other side of a DOConnection link.


Method Summary
 java.security.cert.Certificate[] getCredentials()
          Returns any certificates that supplement this entities authentication
 java.lang.String getID()
          Returns the identifier of the calling code.
 void signChallenge(HeaderSet challenge, HeaderSet response)
          Signs the given challenge message and puts the result (including any required parameters) into the given HeaderSet object.
 net.handle.hdllib.AuthenticationInfo toHandleAuth()
          Returns this authentication in a form that will work with handle system administration.
 

Method Detail

getID

java.lang.String getID()
Returns the identifier of the calling code.


signChallenge

void signChallenge(HeaderSet challenge,
                   HeaderSet response)
                   throws java.lang.Exception
Signs the given challenge message and puts the result (including any required parameters) into the given HeaderSet object.

Throws:
java.lang.Exception

getCredentials

java.security.cert.Certificate[] getCredentials()
Returns any certificates that supplement this entities authentication


toHandleAuth

net.handle.hdllib.AuthenticationInfo toHandleAuth()
Returns this authentication in a form that will work with handle system administration.