|
ePOST API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PostData
This interface is designed to serve as an abstraction of a data object stored in Post. This object will be stored in an encrypted state at a location in the network. Users can access this object by having a copy of the corresponding Reference object, which contains the location and possibly the key of this object.
| Method Summary | |
|---|---|
ContentHashReference |
buildContentHashReference(Id[] locations,
byte[][] keys)
This method dynamically builds an appropriate ContentHashReference for this type of PostData given a location and key. |
SecureReference |
buildSecureReference(Id location,
byte[] key)
This method dynamically builds an appropriate SecureReference for this type of PostData given a location and key. |
SignedReference |
buildSignedReference(Id location)
This method dynamically builds an appropriate SignedReference for this type of PostData given a location. |
| Method Detail |
|---|
SignedReference buildSignedReference(Id location)
location - The location of the data
ContentHashReference buildContentHashReference(Id[] locations,
byte[][] keys)
location - The location of the datakey - The for the data
SecureReference buildSecureReference(Id location,
byte[] key)
location - The location of the datakey - The for the data
|
ePOST API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||