|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--cryptix.pgp.DashProtected
This class enables the encoding and decoding of the "- " protection which will protect a String against some forms of corruption during email transport. Note that this class expects all line breaks to be represented (both before and after) as CRLFs.
Copyright © 1995-1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.1.1.1 $
Constructor Summary | |
DashProtected()
|
Method Summary | |
static java.lang.String |
decode(java.lang.String s)
Remove all "- "s from the start of lines. |
static java.lang.String |
encode(java.lang.String s)
Prefix all vulnerable lines with "- ". |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public DashProtected()
Method Detail |
public static java.lang.String encode(java.lang.String s)
s
- text to be encodedpublic static java.lang.String decode(java.lang.String s)
s
- dash-proteced text to be decoded
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |