Cumulus4j API
(1.0.0)

org.cumulus4j.keystore
Class GeneratedKey

java.lang.Object
  extended by org.cumulus4j.keystore.GeneratedKey

public class GeneratedKey
extends Object

Container holding a keyID and a key.

Author:
Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de

Constructor Summary
GeneratedKey(long keyID, byte[] key)
          Constructor for instantiating a GeneratedKey with a keyID and the actual key.
 
Method Summary
 byte[] getKey()
          Get the actual key.
 long getKeyID()
          Get the key-identifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneratedKey

public GeneratedKey(long keyID,
                    byte[] key)
Constructor for instantiating a GeneratedKey with a keyID and the actual key.

Parameters:
keyID - the identifier of the key.
key - the actual key.
Method Detail

getKeyID

public long getKeyID()
Get the key-identifier.

Returns:
the key-identifier.

getKey

public byte[] getKey()
Get the actual key.

Returns:
the key.

Cumulus4j API
(1.0.0)

Copyright © 2012 NightLabs Consulting GmbH. All Rights Reserved.