Package com.isode.x400api
Class X400
java.lang.Object
com.isode.x400api.X400
Provides the X.400 class used to implement the Java bindings
to the Isode X.400 API
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intx400_acp127addstrparam(ACP127Resp acp127resp_obj, int paramtype, String value) Set string parameter from ACP127 Response objectstatic intx400_acp127respaddintparam(ACP127Resp acp127resp_obj, int value) Get int parameter from ACP127 Response objectstatic intx400_acp127respaliget(ACP127Resp resp_obj, int entry, ALI ali_obj) Create new Address List Indicator object associated with the X400ACP127 Respstatic intx400_acp127respalinew(ACP127Resp resp_obj, ALI ali_obj) Create new Address List Indicator object associated with the X400ACP127 Respstatic intx400_acp127respget(Message msg_obj, ACP127Resp acp127resp_obj) Get the ACP127 Response object from a recipientstatic intx400_acp127respgetintparam(ACP127Resp acp127resp_obj) Set int parameter from ACP127 Response objectstatic intx400_acp127respgetstrparam(ACP127Resp acp127resp_obj, int paramtype, StringBuffer value) Get string parameter from ACP127 Response objectstatic intx400_acp127respnew(Message msg_obj, ACP127Resp acp127resp_obj) Create a P772 ACP127 Response object.static intx400_addmessagebody(Message message_obj, Message fwd_message_obj) Add a message body object to a message.static intx400_aliaddintparam(ALI ali_obj, int paramtype, int value) Add int-valued parameter to the ALI info objectstatic intx400_aliaddstrparam(ALI ali_obj, int paramtype, String value) Add string-valued parameter to the ALI info objectstatic intx400_aliget(Message message_obj, int entry, ALI ali_obj) Get the Address List Indicator information object from a messagestatic intx400_aligetintparam(ALI ali_obj, int paramtype) Get string parameter from Address List Indicator objectstatic intx400_aligetstrparam(ALI ali_obj, int paramtype, StringBuffer value) Get string parameter from Address List Indicator objectstatic intx400_alinew(Message message_obj, ALI ali_obj) Create an Address List Indicator object.static intx400_bodypartaddbyteparam(BodyPart bp_obj, int paramtype, byte[] value, int len) Add byte-valued parameter to the body partstatic intx400_bodypartaddintparam(BodyPart bp_obj, int paramtype, int value) Add integer-valued parameter to the body partstatic intx400_bodypartaddstrparam(BodyPart bp_obj, int paramtype, String value, int len) Add string-valued parameter to the body partstatic intx400_bodypartgetintparam(BodyPart bodypart_obj, int paramtype) Return a integer-valued parameter from the body part objectstatic intx400_bodypartgetstrparam(BodyPart bodypart_obj, int paramtype, StringBuffer value, byte[] binarydata) Return a string-valued parameter from the body part objectstatic intx400_bodypartnew(int bptype, BodyPart bodypart_obj) Create a new BodyPart object.static intx400_certget(Recip recip_obj, int entry, Cert cert_obj) Get certificate object from messagestatic intx400_certgetbyteparam(Cert cert_obj, int paramtype, byte[] binarydata) Return a byte-valued parameter from the certificate objectstatic intx400_certgetintparam(Cert cert_obj, int paramtype) Return a int-valued parameter from the certificate objectstatic intx400_certgetstrparam(Cert cert_obj, int paramtype, StringBuffer value) Return a string-valued parameter from the certificate objectstatic intx400_distfieldaddbyteparam(DistField distfield_obj, int paramtype, byte[] binarydata) Add byte-valued parameter to the DistField info objectstatic intx400_distfieldaddstrparam(DistField distfield_obj, int paramtype, String value) Add string-valued parameter to the DistField info objectstatic intx400_distfieldget(Message message_obj, int entry, DistField distfield_obj) Get the Distribution Code extension Field object from a messagestatic intx400_distfieldgetbyteparam(DistField distfield_obj, int paramtype, byte[] binarydata) Get byte-valued parameter to the DistField info objectstatic intx400_distfieldgetstrparam(DistField distfield_obj, int paramtype, StringBuffer value) Get string parameter from Distribution Code extension Field objectstatic intx400_distfieldnew(Message message_obj, DistField distfield_obj) Create a P772 Distribution Code extension Field object.static intx400_DLaddstrparam(DLExpHist dleh_obj, int paramtype, String value, int len) Add string-valued parameter to the X400DLExpHist objectstatic intx400_DLexphistdelete(DLExpHist dleh_obj) Delete the DL Expansion History objectstatic intx400_DLexphistget(Message message_obj, int entry, DLExpHist dleh_obj) Create a new DL Expansion History object from the message objectstatic intx400_DLexphistnew(Message message_obj, DLExpHist dleh_obj) Create a new X400DLExpHist objectstatic intx400_DLgetstrparam(DLExpHist dleh_obj, int paramtype, StringBuffer value) Return a string parameter from the DL Expansion History objectstatic intx400_initializelogging(String myname, String xmlfile) Initializes logging.static intx400_internaltraceinfoaddintparam(InternalTraceinfo internaltraceinfo_obj, int paramtype, int value) Set an integer value in an Internal Trace Info objectstatic intx400_internaltraceinfoaddstrparam(InternalTraceinfo internaltraceinfo_obj, int paramtype, String value, int len) Add string-valued parameter to the Internal Trace info objectstatic intx400_internaltraceinfoget(Message message_obj, int entry, InternalTraceinfo internaltraceinfo_obj) Get the Trace information object from a messagestatic intx400_internaltraceinfogetintparam(InternalTraceinfo internaltraceinfo_obj, int paramtype) Get string parameter from Internal Trace Information objectstatic intx400_internaltraceinfogetstrparam(InternalTraceinfo internaltraceinfo_obj, int paramtype, StringBuffer value) Get the InternalTrace information object from a messagestatic intx400_internaltraceinfonew(Message message_obj, InternalTraceinfo internaltraceinfo_obj) Create a new Trace information object.static intx400_msgaddattachment(Message message_obj, int paramtype, String value, int len, byte[] binarydata) Add an attachment to the messagestatic intx400_msgaddbodypart(Message message_obj, BodyPart bp_obj) Add a body part object to a message.static intx400_msgaddbyteparam(Message message_obj, int paramtype, byte[] binarydata) Add byte-valued parameter to a message objectstatic intx400_msgaddintparam(Message message_obj, int paramtype, int value) Add integer-valued parameter to the messagestatic intx400_msgaddmessagebodywtype(Message message_obj, Message fw_message_obj, int type) Add a message body part object to a messagestatic intx400_msgaddrecip(Message message_obj, int reciptype, Recip recip_obj) Add a recipient object to the messagestatic intx400_msgaddstrparam(Message message_obj, int paramtype, String value, int len) Add string-valued parameter to the messagestatic intx400_msgcountrecip(Message message_obj, int type) Returns count of addresses of given type in message objectstatic intx400_msgfree(Message message_obj) Free messagestatic intx400_msggetattachment(Message message_obj, int number, StringBuffer value, byte[] binarydata) Return data from a simple attachment Not all X.400 body part types can be returned from a message in this way.static intx400_msggetbodypart(Message message_obj, int number, BodyPart bp_obj) Return a pointer to a body part object.static intx400_msggetbyteparam(Message message_obj, int paramtype, byte[] binarydata) Get byte-valued parameter to a message objectstatic intx400_msggetintparam(Message message_obj, int paramtype) Return a integer-valued parameter from the message objectstatic intx400_msggetmessagebody(Message message_obj, int number, Message message_body_obj) Return a pointer to a body part object Returns a message from the specified body partstatic intx400_msggetrecip(Message message_obj, int type, int num, Recip recip_obj) Get recipient object from messagestatic intx400_msggetstrparam(Message message_obj, int paramtype, StringBuffer value) Return a string-valued parameter from the message objectstatic intx400_msgnew(int msgtype, Message message_obj) Create new messagestatic intx400_msgnewfrombuffer(byte[] buf, Message message_obj) Generate a Message object from a message encoding.static intx400_oranddladdstrparam(ORandDL oranddl_obj, int paramtype, String value) Add string parameter for a Originator and DL Expansion History objectstatic intx400_oranddlget(Message message_obj, int entry, ORandDL oranddl_obj) Get Originator and DL expansion history objectstatic intx400_oranddlgetstrparam(ORandDL oranddl_obj, int paramtype, StringBuffer value) Get string parameter from ACP127 Response objectstatic intx400_oranddlnew(Message message_obj, ORandDL oranddl_obj) Create new Originator and DL Expansion history objectstatic intx400_otherrecipaddintparam(OtherRecip otherrecip_obj, int value) Set int parameter from Other Recipient objectstatic intx400_otherrecipaddstrparam(OtherRecip otherrecip_obj, String value) Set string parameter from Other Recipient objectstatic intx400_otherrecipget(Message message_obj, int entry, OtherRecip otherrecip_obj) Get a new P772 Other Recipient object for a message objectstatic intx400_otherrecipgetintparam(OtherRecip otherrecip_obj) Get int parameter from Other Recipient objectstatic intx400_otherrecipgetstrparam(OtherRecip otherrecip_obj, StringBuffer value) Get string parameter from Other Recipient objectstatic intx400_otherrecipnew(Message message_obj, OtherRecip otherrecip_obj) Create a new P772 Other Recipient object for a message objectstatic intx400_pssaddstrparam(PSS pss_obj, String value) Add string-valued parameter to the PSS info objectstatic intx400_pssget(Message message_obj, int entry, PSS pss_obj, int type) Get the Printable String Sequence object from a messagestatic intx400_pssgetstrparam(PSS pss_obj, StringBuffer value) Get string parameter from Printable String Sequence objectstatic intx400_pssnew(Message message_obj, PSS pss_obj, int type) Create a Printable String Sequence object.static intx400_recipaddintparam(Recip recip_obj, int paramtype, int value) Add integer-valued parameter to the recipientstatic intx400_recipaddstrparam(Recip recip_obj, int paramtype, String value, int len) Add string-valued parameter to the recipientstatic intx400_recipget(Message message_obj, int type, int num, Recip recip_obj) Get recipient object from messagestatic intx400_recipgetintparam(Recip recip_obj, int paramtype) Return a integer-valued parameter from the recipient objectstatic intx400_recipgetstrparam(Recip recip_obj, int paramtype, StringBuffer value) Return a string-valued parameter from the recipient objectstatic intx400_recipnew(int reciptype, Recip recip_obj) Create a new recipient object There are several different types for recipient object.static intx400_redihistaddintparam(RediHist redihist_obj, int paramtype, int value) Set an integer value in a Redirection History objectstatic intx400_redihistaddstrparam(RediHist redihist_obj, int paramtype, String value, int len) Add string-valued parameter to the X400RediHist objectstatic intx400_redihistget(Recip recip_obj, int entry, RediHist redihist_obj) Get the Redirection History object from a recipientstatic intx400_redihistgetintparam(RediHist redihist_obj, int paramtype) Get int-valued parameter from the X400RediHist objectstatic intx400_redihistgetstrparam(RediHist redihist_obj, int paramtype, StringBuffer value) Get string-valued parameter from the X400RediHist objectstatic intx400_redihistnew(Recip recip_obj, RediHist redihist_obj) Create a new Redirection History objectstatic intx400_setcontentoctets(Message message_obj, byte[] binarydata) Takes a byte stream containing the ASN.1 encoding of a P22 (or P772) content, decodes it and sets it into a message, so that attributes can be extracted from it.static intx400_traceinfoaddintparam(Traceinfo traceinfo_obj, int paramtype, int value) Set an integer value in a Trace Info objectstatic intx400_traceinfoaddstrparam(Traceinfo traceinfo_obj, int paramtype, String value, int len) Add string-valued parameter to the X400TraceInfo objectstatic intx400_traceinfoget(Message message_obj, int entry, Traceinfo traceinfo_obj, int type) Get the Trace information object from a messagestatic intx400_traceinfogetintparam(Traceinfo traceinfo_obj, int paramtype) Get int parameter from Trace Information objectstatic intx400_traceinfogetstrparam(Traceinfo traceinfo_obj, int paramtype, StringBuffer value) Get string parameter from Trace Information objectstatic intx400_traceinfonew(Message message_obj, Traceinfo traceinfo_obj, int type) Create a new Trace information object.
-
Constructor Details
-
X400
public X400()
-
-
Method Details
-
x400_msgnewfrombuffer
Generate a Message object from a message encoding.- Parameters:
buf- Encoding of Messagemessage_obj- Message object
-
x400_msgnew
Create new message- Parameters:
msgtype- Message typemessage_obj- Message object
-
x400_msgfree
Free message- Parameters:
message_obj- Message object
-
x400_recipnew
Create a new recipient object There are several different types for recipient object. Normal recipients can be specified separately for the envelope (i.e. controlling where the message actually goes) and the header which is part of the content. They can also be specified together. A separate type of recipient is the reported recipient which appears in a report content. - X400_RECIP_PRIMARY Primary recipient in header - X400_RECIP_CC Carbon copy recipient in header - X400_RECIP_BCC Blind copy recipient in header - X400_RECIP_REPLY Reply-recipient in header - X400_RECIP_ENVELOPE Actual recipient in envelope - X400_RECIP_REPORT Reported recipient in report content - X400_RECIP_INTENDED Originally intended recipient in report content - X400_ORIGINATOR Originator address in IPM header - X400_AUTH_ORIG Authorizing originator address in IPM header To set a given recipient in both envelope and header, add together the values, e.g. X400_RECIP_PRIMARY + X400_RECIP_ENVELOPE. The value X400_RECIP_STANDARD is a shorthand for this combination.- Parameters:
reciptype- Recipient typerecip_obj- Recipient object to be returned from API
-
x400_bodypartnew
Create a new BodyPart object.- Parameters:
bptype- Bodypart typebodypart_obj- Bodypart object to be returned from API
-
x400_bodypartaddstrparam
Add string-valued parameter to the body part- Parameters:
bp_obj- Bodypart object from MSBodypartNewparamtype- Type of parameter to be addedvalue- String to be added as paramtypelen- [IGNORED] length of string to be added (-1 for NULL terminated) Please note that the len parameter is now ignored
-
x400_bodypartaddbyteparam
Add byte-valued parameter to the body part- Parameters:
bp_obj- Bodypart object from MSBodypartNewparamtype- Type of parameter to be addedvalue- Byte array to be added as the valuelen- size of the byte array to be added
-
x400_bodypartaddintparam
Add integer-valued parameter to the body part- Parameters:
bp_obj- Bodypart object from MSRecipNewparamtype- Type of parameter to be addedvalue- Integer to be added as paramtype
-
x400_recipaddstrparam
Add string-valued parameter to the recipient- Parameters:
recip_obj- Recipient object from MSRecipNewparamtype- Type of parameter to be addedvalue- String to be added as paramtypelen- [IGNORED] length of string to be added (-1 for NULL terminated) Please note that the len parameter is now ignored
-
x400_recipaddintparam
Add integer-valued parameter to the recipient- Parameters:
recip_obj- Recipient object from MSRecipNewparamtype- Type of parameter to be addedvalue- Integer to be added as paramtype
-
x400_msgaddstrparam
Add string-valued parameter to the message- Parameters:
message_obj- Message object from MSMsgNewparamtype- Type of parameter to be addedvalue- String to be added as paramtypelen- [IGNORED] length of string to be added (-1 for NULL terminated) Please note that the len parameter is now ignored
-
x400_msgaddintparam
Add integer-valued parameter to the message- Parameters:
message_obj- Message object from MSMsgNewparamtype- Type of parameter to be addedvalue- integer to be added as paramtype
-
x400_msggetstrparam
Return a string-valued parameter from the message object- Parameters:
message_obj- Message object from MSMsgNewparamtype- Type of parameter to be returnedvalue- String object into which to return the value
-
x400_msggetintparam
Return a integer-valued parameter from the message object- Parameters:
message_obj- Message object from MSMsgNewparamtype- Type of parameter to be returned
-
x400_msggetrecip
Get recipient object from message- Parameters:
message_obj- Message object from MSMsgGettype- Type of recipientrecip_obj- Recipient object to be returned
-
x400_recipget
Get recipient object from message- Parameters:
message_obj- Message object from MsgGettype- Type of recipientrecip_obj- Recipient object to be returned
-
x400_recipgetintparam
Return a integer-valued parameter from the recipient object- Parameters:
recip_obj- Recipient object from MSMsgGetRecipparamtype- Type of parameter to be returned
-
x400_recipgetstrparam
Return a string-valued parameter from the recipient object- Parameters:
recip_obj- Recipient object from MSMsgGetRecipparamtype- Type of parameter to be returnedvalue- String object into which to return the value
-
x400_msgaddrecip
Add a recipient object to the message- Parameters:
message_obj- Message objectreciptype- Recipient typerecip_obj- Recipient object from API
-
x400_msgaddattachment
public static int x400_msgaddattachment(Message message_obj, int paramtype, String value, int len, byte[] binarydata) Add an attachment to the message- Parameters:
message_obj- Message objectparamtype- Type of attachmentvalue- String value for attachmentlen- Length of attachmentbinarydata- data for binary attachments
-
x400_msgaddbodypart
Add a body part object to a message.- Parameters:
message_obj- Message objectbp_obj- Bodypart object to add to the message
-
x400_addmessagebody
Add a message body object to a message. Deprecated use X400MsgAddMessageBodyWType instead.- Parameters:
message_obj- Message objectfwd_message_obj- Message object to add as bodypart
-
x400_msgaddmessagebodywtype
public static int x400_msgaddmessagebodywtype(Message message_obj, Message fw_message_obj, int type) Add a message body part object to a message- Parameters:
message_obj- Message objectfw_message_obj- Message object to be added as BodyParttype- Bodypart type (X400_T_MESSAGE)
-
x400_bodypartgetintparam
Return a integer-valued parameter from the body part object- Parameters:
bodypart_obj- BodyPart object from X400msMsgGetBodypartparamtype- Type of parameter to be returned
-
x400_bodypartgetstrparam
public static int x400_bodypartgetstrparam(BodyPart bodypart_obj, int paramtype, StringBuffer value, byte[] binarydata) Return a string-valued parameter from the body part object- Parameters:
bodypart_obj- BodyPart object from X400msMsgGetBodypartparamtype- Type of parameter to be returnedvalue- String object into which to return the valuebinarydata- data for binary attachments
-
x400_msggetattachment
public static int x400_msggetattachment(Message message_obj, int number, StringBuffer value, byte[] binarydata) Return data from a simple attachment Not all X.400 body part types can be returned from a message in this way. If the type is such that a X400Bodypart is needed, then the error X400_E_COMPLEX_BODY is returned. If the type is a forwarded message or returned IPM, then X400_E_MESSAGE_BODY is returned.- Parameters:
message_obj- Message objectnumber- Bodypart number
-
x400_msggetbodypart
Return a pointer to a body part object.- Parameters:
message_obj- Message objectnumber- Bodypart numberbp_obj- BodyPart object returned
-
x400_msggetmessagebody
Return a pointer to a body part object Returns a message from the specified body part- Parameters:
message_obj- Message objectnumber- Bodypart numbermessage_body_obj- Message object body part
-
x400_msgcountrecip
Returns count of addresses of given type in message object- Parameters:
message_obj- Message objecttype- Type of address to count
-
x400_DLexphistnew
Create a new X400DLExpHist object- Parameters:
message_obj- Message objectdleh_obj- Distribution List Expansion History object
-
x400_DLexphistget
Create a new DL Expansion History object from the message object- Parameters:
message_obj- Message objectentry- DL history object referencedleh_obj- Distribution List Expansion History object
-
x400_DLexphistdelete
Delete the DL Expansion History object- Parameters:
dleh_obj- Distribution List Expansion History object
-
x400_DLgetstrparam
Return a string parameter from the DL Expansion History object- Parameters:
dleh_obj- Message objectparamtype- Type of parameter to be returnedvalue- String object into which to return the value
-
x400_DLaddstrparam
Add string-valued parameter to the X400DLExpHist object- Parameters:
dleh_obj- Message objectparamtype- Type of parameter to be addedvalue- String object to add the valuelen- String object to add the value
-
x400_traceinfonew
Create a new Trace information object.- Parameters:
message_obj- Message objecttraceinfo_obj- Trace info object
-
x400_traceinfoget
public static int x400_traceinfoget(Message message_obj, int entry, Traceinfo traceinfo_obj, int type) Get the Trace information object from a message- Parameters:
message_obj- Message objectentry- Trace Info object referencetraceinfo_obj- Trace Info objecttype- Trace Info type
-
x400_traceinfogetstrparam
public static int x400_traceinfogetstrparam(Traceinfo traceinfo_obj, int paramtype, StringBuffer value) Get string parameter from Trace Information object- Parameters:
traceinfo_obj- Traceinfo objectparamtype- Type of parameter to be returnedvalue- String object into which to return the value
-
x400_traceinfogetintparam
Get int parameter from Trace Information object- Parameters:
traceinfo_obj- Traceinfo objectparamtype- Type of parameter to be returned
-
x400_traceinfoaddstrparam
public static int x400_traceinfoaddstrparam(Traceinfo traceinfo_obj, int paramtype, String value, int len) Add string-valued parameter to the X400TraceInfo object- Parameters:
traceinfo_obj- Traceinfo objectparamtype- Type of parameter to be addedvalue- String object to add the valuelen- String object to add the value
-
x400_traceinfoaddintparam
Set an integer value in a Trace Info object- Parameters:
traceinfo_obj- Message object from TraceInfoNewparamtype- Type of parameter to be addedvalue- integer to be added as paramtype
-
x400_internaltraceinfonew
public static int x400_internaltraceinfonew(Message message_obj, InternalTraceinfo internaltraceinfo_obj) Create a new Trace information object.- Parameters:
message_obj- Message objectinternaltraceinfo_obj- Internal Trace info object
-
x400_internaltraceinfoget
public static int x400_internaltraceinfoget(Message message_obj, int entry, InternalTraceinfo internaltraceinfo_obj) Get the Trace information object from a message- Parameters:
message_obj- Message objectentry- Trace Info object referenceinternaltraceinfo_obj- Trace Info object
-
x400_internaltraceinfogetstrparam
public static int x400_internaltraceinfogetstrparam(InternalTraceinfo internaltraceinfo_obj, int paramtype, StringBuffer value) Get the InternalTrace information object from a message- Parameters:
internaltraceinfo_obj- Internaltraceinfo objectparamtype- Type of parameter to be returnedvalue- String object into which to return the value
-
x400_internaltraceinfogetintparam
public static int x400_internaltraceinfogetintparam(InternalTraceinfo internaltraceinfo_obj, int paramtype) Get string parameter from Internal Trace Information object- Parameters:
internaltraceinfo_obj- Internaltraceinfo objectparamtype- Type of parameter to be returned
-
x400_internaltraceinfoaddstrparam
public static int x400_internaltraceinfoaddstrparam(InternalTraceinfo internaltraceinfo_obj, int paramtype, String value, int len) Add string-valued parameter to the Internal Trace info object- Parameters:
internaltraceinfo_obj- Internaltraceinfo objectparamtype- Type of parameter to be addedvalue- String object to add the valuelen- String object to add the value
-
x400_internaltraceinfoaddintparam
public static int x400_internaltraceinfoaddintparam(InternalTraceinfo internaltraceinfo_obj, int paramtype, int value) Set an integer value in an Internal Trace Info object- Parameters:
internaltraceinfo_obj- Message object from InternaltraceinfoNewparamtype- Type of parameter to be addedvalue- integer to be added as paramtype
-
x400_redihistnew
Create a new Redirection History object- Parameters:
recip_obj- Recipient objectredihist_obj- Redirection History object
-
x400_redihistget
Get the Redirection History object from a recipient- Parameters:
recip_obj- Recipient objectentry- Redirection History object referenceredihist_obj- Redirection History object
-
x400_redihistgetstrparam
public static int x400_redihistgetstrparam(RediHist redihist_obj, int paramtype, StringBuffer value) Get string-valued parameter from the X400RediHist object- Parameters:
redihist_obj- Redirection History objectparamtype- Type of parameter to be returnedvalue- String object into which to return the value
-
x400_redihistgetintparam
Get int-valued parameter from the X400RediHist object- Parameters:
redihist_obj- Redirection History objectparamtype- Type of parameter to be returned
-
x400_redihistaddstrparam
public static int x400_redihistaddstrparam(RediHist redihist_obj, int paramtype, String value, int len) Add string-valued parameter to the X400RediHist object- Parameters:
redihist_obj- Redirection History objectparamtype- Type of parameter to be addedvalue- String object to add the valuelen- String object to add the value
-
x400_redihistaddintparam
Set an integer value in a Redirection History object- Parameters:
redihist_obj- Message object from RediHistNewparamtype- Type of parameter to be addedvalue- integer to be added as paramtype
-
x400_oranddlnew
Create new Originator and DL Expansion history object- Parameters:
message_obj- Message objectoranddl_obj- ORandDL object
-
x400_oranddlget
Get Originator and DL expansion history object- Parameters:
message_obj- Message objectentry- ORandDL object referenceoranddl_obj- ORandDL object
-
x400_oranddlgetstrparam
Get string parameter from ACP127 Response object- Parameters:
oranddl_obj- ORandDL objectparamtype- Type of parameter to be returnedvalue- String object into which to return the value
-
x400_oranddladdstrparam
Add string parameter for a Originator and DL Expansion History object- Parameters:
oranddl_obj- ORandDL objectparamtype- Type of parameter to be addedvalue- String object to add the value
-
x400_pssnew
Create a Printable String Sequence object.- Parameters:
message_obj- Message objectpss_obj- PSS objecttype- Printable String Syntax type. X400_S_HANDLING_INSTRUCTIONS / X400_S_MESSAGE_INSTRUCTIONS / X400_S_DIST_CODES_SIC
-
x400_pssget
Get the Printable String Sequence object from a message- Parameters:
message_obj- Message objectentry- PSS object referencepss_obj- PSS objecttype- Printable String Syntax type. X400_S_HANDLING_INSTRUCTIONS / X400_S_MESSAGE_INSTRUCTIONS / X400_S_DIST_CODES_SIC
-
x400_pssgetstrparam
Get string parameter from Printable String Sequence object- Parameters:
pss_obj- PSS objectvalue- String object into which to return the value
-
x400_pssaddstrparam
Add string-valued parameter to the PSS info object- Parameters:
pss_obj- PSS objectvalue- String object to add the value
-
x400_alinew
Create an Address List Indicator object.- Parameters:
message_obj- Message objectali_obj- ALI object
-
x400_aliget
Get the Address List Indicator information object from a message- Parameters:
message_obj- Message objectentry- ALI object referenceali_obj- ALI object
-
x400_aligetstrparam
Get string parameter from Address List Indicator object- Parameters:
ali_obj- ALI objectparamtype- Type of parameter to be fetchedvalue- String object into which to return the value
-
x400_aliaddstrparam
Add string-valued parameter to the ALI info object- Parameters:
ali_obj- ALI objectparamtype- Type of parameter to be addedvalue- String object to add the value
-
x400_aliaddintparam
Add int-valued parameter to the ALI info object- Parameters:
ali_obj- Message object from X400ALINewparamtype- Type of parameter to be addedvalue- integer to be added as paramtype
-
x400_aligetintparam
Get string parameter from Address List Indicator object- Parameters:
ali_obj- ALI objectparamtype- Type of parameter to be returned
-
x400_otherrecipnew
Create a new P772 Other Recipient object for a message object- Parameters:
message_obj- Message objectotherrecip_obj- OtherRecip object
-
x400_otherrecipget
Get a new P772 Other Recipient object for a message object- Parameters:
message_obj- Message objectentry- OtherRecip object referenceotherrecip_obj- OtherRecip object
-
x400_otherrecipgetstrparam
Get string parameter from Other Recipient object- Parameters:
otherrecip_obj- OtherRecip objectvalue- String object into which to return the value
-
x400_otherrecipaddstrparam
Set string parameter from Other Recipient object- Parameters:
otherrecip_obj- OtherRecip objectvalue- String object to add the value
-
x400_otherrecipaddintparam
Set int parameter from Other Recipient object- Parameters:
otherrecip_obj- Message object from X400OtherRecipNewvalue- integer to be added
-
x400_otherrecipgetintparam
Get int parameter from Other Recipient object- Parameters:
otherrecip_obj- otherrecip object
-
x400_acp127respnew
Create a P772 ACP127 Response object.- Parameters:
msg_obj- Message objectacp127resp_obj- ACP127Resp object
-
x400_acp127respget
Get the ACP127 Response object from a recipient- Parameters:
msg_obj- Recipient objectacp127resp_obj- ACP127Resp object
-
x400_acp127respgetstrparam
public static int x400_acp127respgetstrparam(ACP127Resp acp127resp_obj, int paramtype, StringBuffer value) Get string parameter from ACP127 Response object- Parameters:
acp127resp_obj- ACP127Resp objectparamtype- Type of parameter to be returnedvalue- String object into which to return the value
-
x400_acp127addstrparam
Set string parameter from ACP127 Response object- Parameters:
acp127resp_obj- ACP127Resp objectparamtype- Type of parameter to be addedvalue- String object to add the value
-
x400_acp127respaddintparam
Get int parameter from ACP127 Response object- Parameters:
acp127resp_obj- Message object from X400ACP127RespNewvalue- integer to be added
-
x400_acp127respgetintparam
Set int parameter from ACP127 Response object- Parameters:
acp127resp_obj- ACP127Resp object
-
x400_acp127respalinew
Create new Address List Indicator object associated with the X400ACP127 Resp- Parameters:
resp_obj- ACP127Resp objectali_obj- Address List Indicator object
-
x400_acp127respaliget
Create new Address List Indicator object associated with the X400ACP127 Resp- Parameters:
resp_obj- ACP127Resp objectentry- ALI entry ACP127Resp ALI object referenceali_obj- ALI object ALI object
-
x400_distfieldnew
Create a P772 Distribution Code extension Field object.- Parameters:
message_obj- Message objectdistfield_obj- DistField object
-
x400_distfieldget
Get the Distribution Code extension Field object from a message- Parameters:
message_obj- Message objectentry- DistField object referencedistfield_obj- DistField object
-
x400_distfieldgetstrparam
public static int x400_distfieldgetstrparam(DistField distfield_obj, int paramtype, StringBuffer value) Get string parameter from Distribution Code extension Field object- Parameters:
distfield_obj- DistField objectparamtype- Type of parameter to be fetchedvalue- String object into which to return the value
-
x400_distfieldaddstrparam
Add string-valued parameter to the DistField info object- Parameters:
distfield_obj- DistField objectparamtype- Type of parameter to be addedvalue- String object to add the value
-
x400_distfieldaddbyteparam
public static int x400_distfieldaddbyteparam(DistField distfield_obj, int paramtype, byte[] binarydata) Add byte-valued parameter to the DistField info object- Parameters:
distfield_obj- DistField object from X400DistFieldNew or X400DistFieldGetparamtype- Type of parameter to be addedbinarydata- Byte array with the binary data Please note that the len parameter is now ignored
-
x400_distfieldgetbyteparam
public static int x400_distfieldgetbyteparam(DistField distfield_obj, int paramtype, byte[] binarydata) Get byte-valued parameter to the DistField info object- Parameters:
distfield_obj- DistField object from X400DistFieldNew or X400DistFieldGetparamtype- Type of parameter to be returnedbinarydata- Byte array with the binary data
-
x400_msgaddbyteparam
Add byte-valued parameter to a message object- Parameters:
message_obj- Message object from MSMsgNewparamtype- Type of parameter to be addedbinarydata- Byte array with the binary data Please note that the len parameter is now ignored
-
x400_msggetbyteparam
Get byte-valued parameter to a message object- Parameters:
message_obj- Message object from MsgNewparamtype- Type of parameter to be returnedbinarydata- Byte array with the binary data
-
x400_certget
Get certificate object from message- Parameters:
recip_obj- Recipient objectentry- Certificate object referencecert_obj- Certificate object
-
x400_certgetstrparam
Return a string-valued parameter from the certificate object- Parameters:
cert_obj- Certificate objectparamtype- Type of parameter to be returnedvalue- String object into which to return the value
-
x400_certgetintparam
Return a int-valued parameter from the certificate object- Parameters:
cert_obj- Certificate objectparamtype- Type of parameter to be returned
-
x400_certgetbyteparam
Return a byte-valued parameter from the certificate object- Parameters:
cert_obj- Certificate objectparamtype- Type of parameter to be returnedbinarydata- Byte array with the binary data
-
x400_setcontentoctets
Takes a byte stream containing the ASN.1 encoding of a P22 (or P772) content, decodes it and sets it into a message, so that attributes can be extracted from it.- Parameters:
message_obj- Message objectbinarydata- Byte array with the message content
-
x400_initializelogging
Initializes logging.- Parameters:
myname- Application namexmlfile- Logging configuration filename or full path
-