net.java.otr4j.io
Class SerializationUtils
java.lang.Object
net.java.otr4j.io.SerializationUtils
public class SerializationUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializationUtils
public SerializationUtils()
toMysteriousX
public static SignatureX toMysteriousX(byte[] b)
throws IOException
- Throws:
IOException
toByteArray
public static byte[] toByteArray(SignatureX x)
throws IOException
- Throws:
IOException
toByteArray
public static byte[] toByteArray(SignatureM m)
throws IOException
- Throws:
IOException
toByteArray
public static byte[] toByteArray(MysteriousT t)
throws IOException
- Throws:
IOException
writeData
public static byte[] writeData(byte[] b)
throws IOException
- Throws:
IOException
writeMpi
public static byte[] writeMpi(BigInteger bigInt)
throws IOException
- Throws:
IOException
readMpi
public static BigInteger readMpi(byte[] b)
throws IOException
- Throws:
IOException
writePublicKey
public static byte[] writePublicKey(PublicKey pubKey)
throws IOException
- Throws:
IOException
toString
public static String toString(AbstractMessage m)
throws IOException
- Throws:
IOException
toMessage
public static AbstractMessage toMessage(String s)
throws IOException
- Throws:
IOException
Copyright © 2009 Beem-project.com. All Rights Reserved.