org.cumulus4j.keymanager.channel
Class GetKeyRequestHandler
java.lang.Object
   org.cumulus4j.keymanager.channel.AbstractRequestHandler<GetKeyRequest>
org.cumulus4j.keymanager.channel.AbstractRequestHandler<GetKeyRequest>
       org.cumulus4j.keymanager.channel.GetKeyRequestHandler
org.cumulus4j.keymanager.channel.GetKeyRequestHandler
- All Implemented Interfaces: 
- RequestHandler<GetKeyRequest>
- public class GetKeyRequestHandler 
- extends AbstractRequestHandler<GetKeyRequest>
 Handler for GetKeyRequest.
 
 
 If the Session is found for the given
 cryptoSessionID and
 it is not locked, this handler looks up the desired key and
 sends it in a GetKeyResponse to the server.
 
- Author:
- Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
GetKeyRequestHandler
public GetKeyRequestHandler()
handle
public Response handle(GetKeyRequest request)
                throws AuthenticationException,
                       KeyNotFoundException,
                       GeneralSecurityException,
                       IOException,
                       CryptoException
- Description copied from interface: RequestHandler
- Handle the given request.
 
- 
- Parameters:
- request- the request to be handled; never- null.
- Returns:
- the response for the given request; can be null, which is sent
 asNullResponseto the server.
- Throws:
- AuthenticationException
- KeyNotFoundException
- GeneralSecurityException
- IOException
- CryptoException
 
Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.