Smutty_Object
|
+--Smutty_GPG_SignedMessage
public class Smutty_GPG_SignedMessage
extends Smutty_Object
| Constructor Summary | |
|---|---|
Smutty_GPG_SignedMessage(String data) constructor |
|
| Method Summary | |
|---|---|
| String | returns the body of the request |
| String | getText() returns this messages text, all of it |
| private static boolean | isValidHeader(String name, String value) checks a header is ok, ie it doesn't contain invalid chars, and is one of the ones defined in the spec. |
| private nothing | processMessage(String data) processes a complete signed message block |
| private nothing | processSection(String tag, String data, String body, array headers) processes a section of a message (start tag, headers and body) |
public Smutty_GPG_SignedMessage(String data)
constructor
public String getMessageBody()
returns the body of the request
public String getText()
returns this messages text, all of it
private static boolean isValidHeader(String name, String value)
checks a header is ok, ie it doesn't contain invalid chars, and is one of the ones defined in the spec.
private nothing processMessage(String data)
processes a complete signed message block
private nothing processSection(String tag, String data, String body, array headers)
processes a section of a message (start tag, headers and body)
represents a signed http post request, then provides some methods for finding out information about it
/