|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object iaik.smime.ess.utils.ESSLayers
public class ESSLayers
ESSLayer container. Holds several layers a message may consist of.
Maybe created by calling method resolve
of an ESS mailing list agent
:
MLA mla = ...; ... // the message to process: MimeMessage msg = ...; // resolve the message into its layers: ESSLayers layers = mla.resolve(msg);
ESSLayer
,
SignedESSLayer
,
EnvelopedESSLayer
,
MLA
Method Summary | |
---|---|
ESSLayer[] |
getAllLayers()
Gets all layers currently held by this MLA. |
int |
getIndexOfEnvelopedLayer()
Get the index of the (outermost) EnvelopedData layer, if present. |
int |
getIndexOfInnerSignedLayer()
Get the index of the inner SignedData layer, if present. |
int |
getIndexOfOuterSignedLayer()
Get the index of the outer SignedData layer, if present. |
ESSLayer |
getInnermostLayer()
Gets the innermost layer. |
ESSLayer |
getLayerAtIndex(int index)
Gets the layer at the requested index. |
int |
getNumberOfLayers()
Get the number of layers included in this container. |
ESSLayer |
getOutermostLayer()
Gets the outermost layer. |
java.lang.String |
toString()
Returns a String representation of this MLA. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int getNumberOfLayers()
public ESSLayer getOutermostLayer()
public ESSLayer getInnermostLayer()
public int getIndexOfOuterSignedLayer()
public int getIndexOfInnerSignedLayer()
public int getIndexOfEnvelopedLayer()
public ESSLayer getLayerAtIndex(int index)
java.lang.ArrayIndexOutOfBoundsException
- if the index is out of rangepublic ESSLayer[] getAllLayers()
public java.lang.String toString()
toString
in class java.lang.Object
|
This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |