webfunds.token
Class AbstractPrivateParams

java.lang.Object
  |
  +--webfunds.sox.Encodable
        |
        +--webfunds.token.AbstractParams
              |
              +--webfunds.token.AbstractPrivateParams

public abstract class AbstractPrivateParams
extends AbstractParams

Represents a Private (signing) capability for a token where each capability includes a {item, series, expiry, log} tuple. Refer to AbstractPublicParams for common methods.

See Also:
Serialized Form

Fields inherited from class webfunds.token.AbstractParams
expiry, item, log, PARAMS_VERSION, series, subversion, type, version
 
Constructor Summary
AbstractPrivateParams(byte[] buf)
          Reconstruct the object from a byte array.
AbstractPrivateParams(java.io.InputStream is)
          Reconstruct the object from data in an input stream.
AbstractPrivateParams(int subversion, int tokenType, byte[] series, long expiry, byte[] item, byte log)
          Create an uninitialised Private Params.
 
Method Summary
 java.lang.String vString()
           
 
Methods inherited from class webfunds.token.AbstractParams
decode, encode, equals, getExpiry, getItem, getLog, getQty, getSeries, getSubVersion, getType, getVersion, toString
 
Methods inherited from class webfunds.sox.Encodable
decode, encode, main, readByteArray, readCertificate, readProperties, readString, writeByteArray, writeCertificate, writeProperties, writeString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractPrivateParams

public AbstractPrivateParams(int subversion,
                             int tokenType,
                             byte[] series,
                             long expiry,
                             byte[] item,
                             byte log)
Create an uninitialised Private Params.

AbstractPrivateParams

public AbstractPrivateParams(byte[] buf)
                      throws TokenPacketException
Reconstruct the object from a byte array.
Parameters:
buf - the previously encoded object

AbstractPrivateParams

public AbstractPrivateParams(java.io.InputStream is)
                      throws TokenPacketException
Reconstruct the object from data in an input stream.
Parameters:
is - the input stream from which to read the data
Method Detail

vString

public java.lang.String vString()
Overrides:
vString in class AbstractParams