All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----cryptix.pgp.ArmouredData
Although this class can also represent a clearsigned message, it is not the job of this class either to sign, or to verify the signature - that is the job of the Signature class. Thus, using the ArmouredData class alone, it is perfectly possible to create a clearsigned message with a bad signature!
It is also not the job of this class to deal with character set conversions or canonical form. The classes in the package cryptix.pgp.charset can do that job much better.
public ArmouredData(PacketByteArray payload)
public ArmouredData(Properties properties, PacketByteArray payload)
public ArmouredData(byte text[], PacketByteArray signature) throws FormatException
public ArmouredData(Properties properties, byte clearText[], PacketByteArray signature) throws FormatException
public ArmouredData(String armouredText) throws FormatException
public ArmouredData(byte armouredBytes[]) throws FormatException
public Properties getProperties()
public byte[] getClearText()
public PacketByteArray getPayload()
public static String armour(PacketByteArray pba)
public static PacketByteArray unarmour(String s) throws FormatException
public void parse(String armouredMessage) throws FormatException
public String toString()
All Packages Class Hierarchy This Package Previous Next Index