org.asunder.content
Class SSKKContent

java.lang.Object
  extended by org.asunder.content.AsunderContent
      extended by org.asunder.content.SSKKContent
All Implemented Interfaces:
java.io.Serializable, DHTContent

public final class SSKKContent
extends AsunderContent

Subspace-signed keyword-keyed content Includes a signature and a public key which verifies the signature

Author:
simms2k
See Also:
Serialized Form

Constructor Summary
SSKKContent(byte[] data, java.security.PublicKey pubKey, java.lang.String path, long version)
          Creates a new instance of SSCHKContent
 
Method Summary
 DHTContentKey getContentKey()
           
 boolean permitsOverwrite()
          SSKKContent may be overwritten with a newer version, so always returns true
 
Methods inherited from class org.asunder.content.AsunderContent
encodeContent, getContentLength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSKKContent

public SSKKContent(byte[] data,
                   java.security.PublicKey pubKey,
                   java.lang.String path,
                   long version)
Creates a new instance of SSCHKContent

Method Detail

permitsOverwrite

public boolean permitsOverwrite()
SSKKContent may be overwritten with a newer version, so always returns true

Returns:
true

getContentKey

public DHTContentKey getContentKey()