de.osci.osci12.messageparts
Class MessagePartsEntry

java.lang.Object
  |
  +--de.osci.osci12.messageparts.MessagePartsEntry

public class MessagePartsEntry
extends java.lang.Object

Diese Klasse dient dazu, von außerhalb des Packages auf Konstruktoren und Methoden zuzugreifen, die dort nicht sichtbar sind, um die API für den Anwender übersichtlich zu halten. Die Klasse sollte deshalb nicht dokumentiert werden.

Copyright: Copyright (c) 2003

Organisation: bremen online services GmbH & Co. KG

See Also:
ContentContainer, Attachment

Constructor Summary
MessagePartsEntry()
           
 
Method Summary
static Attachment attachment(java.io.InputStream ins, java.lang.String refId, long length)
           
static void attachmentSetState(Attachment att, int newState, boolean encrypted)
           
static void attachmentSetStream(Attachment attachment, java.io.InputStream ins, boolean encrypt, long length)
           
static EncryptedDataOSCI encryptedDataOsci(javax.crypto.SecretKey secretKey, java.lang.String encryptionMethodAlgorithm, Attachment att)
           
static OSCISignature osciSignature(java.lang.String enclosingElement)
           
static OSCISignatureReference osciSignatureReference(MessagePart mp)
           
static ProcessCardBundle processCardBundle(java.lang.String name, java.lang.String messageId, java.lang.String recentModification, Timestamp creation, Timestamp forwarding, Timestamp reception, java.lang.String subject, Inspection[] inspections)
           
static void setTimestampCreation(ProcessCardBundle pcb, Timestamp tm)
           
static void setTimestampForwarding(ProcessCardBundle pcb, Timestamp tm)
           
static void setTimestampReception(ProcessCardBundle pcb, Timestamp tm)
           
static Timestamp timestamp(int nameID, java.lang.String algorithm, java.lang.String timeStamp)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessagePartsEntry

public MessagePartsEntry()
Method Detail

encryptedDataOsci

public static EncryptedDataOSCI encryptedDataOsci(javax.crypto.SecretKey secretKey,
                                                  java.lang.String encryptionMethodAlgorithm,
                                                  Attachment att)
                                           throws java.security.NoSuchAlgorithmException,
                                                  java.lang.IllegalArgumentException,
                                                  java.io.IOException,
                                                  java.lang.Exception
java.security.NoSuchAlgorithmException
java.lang.IllegalArgumentException
java.io.IOException
java.lang.Exception

processCardBundle

public static ProcessCardBundle processCardBundle(java.lang.String name,
                                                  java.lang.String messageId,
                                                  java.lang.String recentModification,
                                                  Timestamp creation,
                                                  Timestamp forwarding,
                                                  Timestamp reception,
                                                  java.lang.String subject,
                                                  Inspection[] inspections)

timestamp

public static Timestamp timestamp(int nameID,
                                  java.lang.String algorithm,
                                  java.lang.String timeStamp)

setTimestampCreation

public static void setTimestampCreation(ProcessCardBundle pcb,
                                        Timestamp tm)

setTimestampForwarding

public static void setTimestampForwarding(ProcessCardBundle pcb,
                                          Timestamp tm)

setTimestampReception

public static void setTimestampReception(ProcessCardBundle pcb,
                                         Timestamp tm)

osciSignature

public static OSCISignature osciSignature(java.lang.String enclosingElement)

osciSignatureReference

public static OSCISignatureReference osciSignatureReference(MessagePart mp)
                                                     throws java.io.IOException,
                                                            java.security.NoSuchAlgorithmException
java.io.IOException
java.security.NoSuchAlgorithmException

attachment

public static Attachment attachment(java.io.InputStream ins,
                                    java.lang.String refId,
                                    long length)

attachmentSetStream

public static void attachmentSetStream(Attachment attachment,
                                       java.io.InputStream ins,
                                       boolean encrypt,
                                       long length)

attachmentSetState

public static void attachmentSetState(Attachment att,
                                      int newState,
                                      boolean encrypted)