|
freiheit.com technologies gmbh | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.freiheit.gnupg.GnuPGPeer
com.freiheit.gnupg.GnuPGData
public class GnuPGData
Holds the data that you want to work on and stores the results of crypto operations.
Constructor Summary | |
---|---|
protected |
GnuPGData()
Use the factory methods from GnuPGContext to generate GnuPGData-Objects. |
protected |
GnuPGData(byte[] data)
Use the factory methods from GnuPGContext to generate GnuPGData-Objects. |
protected |
GnuPGData(java.lang.String str)
Use the factory methods from GnuPGContext to generate GnuPGData-Objects. |
Method Summary | |
---|---|
void |
destroy()
This calls immediately the release method for the datastructure in the underlying gpgme library. |
protected void |
finalize()
Releases underlying datastructures. |
java.lang.String |
toString()
Helper method to print out the data/string from this data object. |
void |
write(java.io.OutputStream out)
Writes the data/string contained in this data object to the given Java OutputStream. |
Methods inherited from class com.freiheit.gnupg.GnuPGPeer |
---|
getInternalRepresentation, setInternalRepresentation |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected GnuPGData()
protected GnuPGData(java.lang.String str)
str
- your stringprotected GnuPGData(byte[] data)
data
- your dataMethod Detail |
---|
public void write(java.io.OutputStream out) throws java.io.IOException
out
- OutputStream, where the data/string should be written
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public void destroy()
protected void finalize()
finalize
in class java.lang.Object
|
freiheit.com technologies gmbh | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |