org.keymg.api.sym.client
Class SymKeyClient
java.lang.Object
org.keymg.api.sym.client.SymKeyClient
public class SymKeyClient
- extends Object
Client class for accessing the SKSML Servers
- Since:
- Jul 15, 2011
- Author:
- anil@apache.org
|
Method Summary |
org.keymg.sym.model.ekmi.SymkeyResponse |
createNew()
|
byte[] |
getKey(org.keymg.sym.model.ekmi.SymkeyResponse response)
|
protected String |
newGID()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serverURL
protected String serverURL
domainID
protected String domainID
SymKeyClient
public SymKeyClient(String domainID,
String serverURL,
PrivateKey privateKey)
- Create the client
- Parameters:
domainID - The Domain ID of the ClientserverURL - The SKSML Server
createNew
public org.keymg.sym.model.ekmi.SymkeyResponse createNew()
throws SymKeyGenerationException
- Throws:
SymKeyGenerationException
getKey
public byte[] getKey(org.keymg.sym.model.ekmi.SymkeyResponse response)
throws IOException,
GeneralSecurityException,
UnsupportedEncodingException
- Throws:
IOException
GeneralSecurityException
UnsupportedEncodingException
newGID
protected String newGID()
Copyright © 2009-2011. All Rights Reserved.