|
Cryptix OpenPGP | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcryptix.message.Message
cryptix.openpgp.PGPArmouredMessage
Represents an armoured message.
| Constructor Summary | |
PGPArmouredMessage(KeyBundle bundle)
Creates an ArmouredMessage from a KeyBundle |
|
PGPArmouredMessage(Message msg)
Creates an ArmouredMessage from another Message |
|
| Method Summary | |
java.lang.Object |
getAttribute(java.lang.String name)
Get a format specific attribute. |
java.lang.Object |
getContents()
Returns the contents of this message. |
byte[] |
getEncoded()
Returns the message in encoded format. |
java.lang.String |
getEncodedString()
Returns the message in encoded format. |
| Methods inherited from class cryptix.message.Message |
equals, getFormat, hashCode |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PGPArmouredMessage(Message msg)
public PGPArmouredMessage(KeyBundle bundle)
| Method Detail |
public byte[] getEncoded()
throws MessageException
getEncoded in class MessageMessageException - on a variety of format specific problems.
public java.lang.Object getAttribute(java.lang.String name)
throws java.lang.IllegalArgumentException,
MessageException
getAttribute in class Messagename - a name identifying the attribute
java.lang.IllegalArgumentException - if the attribute is not supported on
this format. (Note: if an attribute is supported but not set,
then this method should return null instead of throwing this
exception.)
MessageException - on a variety of format specific problems.
public java.lang.String getEncodedString()
throws MessageException
MessageException - on a variety of format specific problems.public java.lang.Object getContents()
|
Cryptix OpenPGP | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||