The Net Tools Company - 800.225.4190
Search: 
Available in: EDI | EDI/AS2
AS3Sender Component [IP*Works! EDI V8]

Properties   Methods   Events   Configuration Settings  

The AS3Sender component implements an AS3 / EDI-INT client.

NOTE: What follows is a very short description of the component interfaces. For more information, please consult the help files that come with the respective package.

Remarks

The AS3Sender component may be used to send EDI or other messages over FTP/S, using the AS3 protocol. It may also be used to verify Message Disposition Notifications (MDNs) returned by the server.

A typical AS3 transaction is as follows:

(1) The sender sends an EDI document to the receiver using FTP. The document may be signed, encrypted, and/or compressed, and a signed or unsigned receipt may be requested.

(2) The receiver decompresses and decrypts the message and verifies the signature.

(3) The receiver sends a signed receipt back to the client. The signature is over the hash of an MDN, which contains a hash of the received message.

When sending an EDI message, the client should specify, at a minimum, AS3From and AS3To, EDIData, and EDIType. You will also need to specify User, Password, and RemoteHost to Logon to the FTP server. After doing this you may send the data by calling Send.

To secure the EDI transmission, the message may be signed and/or encrypted by setting the appropriate certificates. By default, the component will apply message security if the appropriate certificates are specified. To sign the data set SigningCert. To encrypt, set RecipientCert.

SSL may be enabled by setting the SSLStartMode property. In case your trading partner is using a self-signed certificate it will be necessary to set SSLAcceptServerCert or trap the SSLServerAuthentication event to accept the certificate.

The message may also be compressed by setting CompressionFormat.

To request a receipt, or Message Disposition Notification (MDN), simply set the MDNTo property. The MDN will be returned to the FTP URL specified. The MDNOptions property may be used to customize the request. By default, the component will request a signed MDN over an SHA1 hash.

Validating AS3 MDNs

AS3 MDNs will be returned asynchronously over a separate connection. You may verify MDNs by invoking ReadReceipt. This will read the receipt from the FTP server (or from the MDNReceipt property). It will determine the MessageId of the original message and determine the originator and recipient of the MDN.

You should then look up your trading partner's certificates as well as the OriginalContentMIC (which you must store externally to verify signed receipts), and invoke VerifyReceipt.

Property List


The following is the full list of the properties of the component with short descriptions. Click on the links for further details.

AS3FromThe identity of the sending system.
AS3ToThe identity of the receiving system.
AS3VersionThe version of AS3 being used.
AttachmentCountThe number of records in the Attachment arrays.
AttachmentContentTypeThe MIME content-type of this ediattachment.
AttachmentFileNameThe file name where the attachment data is stored.
AttachmentHeadersThe component fills out Headers each time any of the other properties for that ediattachment are changed.
CompressionFormatThe compression format (if any) to use.
ConnectedShows whether the component is connected.
EDIDataThis property contains the EDI payload of the transmission.
EDIEDITypeThe Content-Type of the EDI message.
EDIFileNameIn a sender, if FileName is specified, the file specified will be used for the EDI payload of the transmission.
EDINameName is the final name to be associated with the contents of either the Data or FileName properties.
EncryptingAlgorithmThe algorithm used to encrypt the EDI data.
FirewallAutoDetectThis property tells the component whether or not to automatically detect and use firewall system settings, if available.
FirewallTypeThis property determines the type of firewall to connect through.
FirewallHostThis property contains the name or IP address of firewall (optional).
FirewallPasswordThis property contains a password if authentication is to be used when connecting through the firewall.
FirewallPortThis property contains the TCP port for the firewall Host .
FirewallUserThis property contains a user name if authentication is to be used connecting through a firewall.
FTPCommandAn FTP command to be sent directly to the FTP server.
FTPLastReplyThe last reply from the FTP server.
LocalHostThe name of the local host or user-assigned IP interface through which connections are initiated or accepted.
LogDirectoryThe path to a directory for logging.
LogFileThe log file written.
MDNOptionsUsed to indicate the options requested for the MDN receipt.
MDNContentThis contains the entire content of the MDN Receipt.
MDNHeadersReceiptHeaders contains the AS2 headers of the MDN Receipt.
MDNMDNMDN will contain the entire machine readable text of the Message Disposition Notification in the receipt.
MDNMessageThe human-readable portion of the MDN receipt.
MDNMICValueThe Message Integrity Check(s) (one-way hash) of the original EDI message.
MDNSigningProtocolThis property contains the MIME type of the signature used, if any (i.
MDNToThe system to which an MDN should be directed.
MessageIdThe Id of the message.
OriginalContentMICThe Message Integrity Check(s) (one-way hash) of the outgoing message.
PassiveControls whether to direct the server into passive mode. Recommended if behind a firewall.
PasswordThe password to log in.
ReceiptSignerCertEffectiveDateThe date which this certificate becomes valid.
ReceiptSignerCertEncodedThe certificate (PEM/base64 encoded).
ReceiptSignerCertExpirationDateThe date the certificate expires.
ReceiptSignerCertExtendedKeyUsageA comma-delimited list of extended key usage identifiers.
ReceiptSignerCertIssuerThe issuer of the certificate.
ReceiptSignerCertKeyPasswordThe password for the certificate's private key (if any).
ReceiptSignerCertPrivateKeyThe private key of the certificate (if available).
ReceiptSignerCertPrivateKeyAvailableShows whether a PrivateKey is available for the selected certificate.
ReceiptSignerCertPrivateKeyContainerThe name of the PrivateKey container for the certificate (if available).
ReceiptSignerCertPublicKeyThe public key of the certificate.
ReceiptSignerCertPublicKeyAlgorithmTextual description of the public key algorithm of the certificate.
ReceiptSignerCertPublicKeyLengthThe length of the certificate public key (in bits).
ReceiptSignerCertSerialNumberThe serial number of the certificate encoded as a string.
ReceiptSignerCertSignatureAlgorithmTextual description of the signature algorithm of the certificate.
ReceiptSignerCertStoreThe name of the certificate store for the client certificate.
ReceiptSignerCertStorePasswordIf the certificate store is of a type that requires a password, this property is used to specify that password in order to open the certificate store.
ReceiptSignerCertStoreTypeThe type of certificate store for this certificate.
ReceiptSignerCertSubjectThe subject of the certificate used for client authentication.
ReceiptSignerCertSubjectAltNamesA comma-separted lists of alternative subject names of the certificate.
ReceiptSignerCertThumbprintMD5MD5 hash of the certificate.
ReceiptSignerCertThumbprintSHA1SHA1 hash of the certificate.
ReceiptSignerCertUsageTextual description of UsageFlags .
ReceiptSignerCertUsageFlagsFlags that show intended use for the certificate.
ReceiptSignerCertVersionThe certificate's version number.
RecipientCertEffectiveDateThe date which this certificate becomes valid.
RecipientCertEncodedThe certificate (PEM/base64 encoded).
RecipientCertExpirationDateThe date the certificate expires.
RecipientCertExtendedKeyUsageA comma-delimited list of extended key usage identifiers.
RecipientCertIssuerThe issuer of the certificate.
RecipientCertKeyPasswordThe password for the certificate's private key (if any).
RecipientCertPrivateKeyThe private key of the certificate (if available).
RecipientCertPrivateKeyAvailableShows whether a PrivateKey is available for the selected certificate.
RecipientCertPrivateKeyContainerThe name of the PrivateKey container for the certificate (if available).
RecipientCertPublicKeyThe public key of the certificate.
RecipientCertPublicKeyAlgorithmTextual description of the public key algorithm of the certificate.
RecipientCertPublicKeyLengthThe length of the certificate public key (in bits).
RecipientCertSerialNumberThe serial number of the certificate encoded as a string.
RecipientCertSignatureAlgorithmTextual description of the signature algorithm of the certificate.
RecipientCertStoreThe name of the certificate store for the client certificate.
RecipientCertStorePasswordIf the certificate store is of a type that requires a password, this property is used to specify that password in order to open the certificate store.
RecipientCertStoreTypeThe type of certificate store for this certificate.
RecipientCertSubjectThe subject of the certificate used for client authentication.
RecipientCertSubjectAltNamesA comma-separted lists of alternative subject names of the certificate.
RecipientCertThumbprintMD5MD5 hash of the certificate.
RecipientCertThumbprintSHA1SHA1 hash of the certificate.
RecipientCertUsageTextual description of UsageFlags .
RecipientCertUsageFlagsFlags that show intended use for the certificate.
RecipientCertVersionThe certificate's version number.
RemoteHostThe domain name or IP address of the FTP server.
RemotePathThe current path in the FTP server.
RemotePortThe port for the FTP service (default is 21).
SigningCertEffectiveDateThe date which this certificate becomes valid.
SigningCertEncodedThe certificate (PEM/base64 encoded).
SigningCertExpirationDateThe date the certificate expires.
SigningCertExtendedKeyUsageA comma-delimited list of extended key usage identifiers.
SigningCertIssuerThe issuer of the certificate.
SigningCertKeyPasswordThe password for the certificate's private key (if any).
SigningCertPrivateKeyThe private key of the certificate (if available).
SigningCertPrivateKeyAvailableShows whether a PrivateKey is available for the selected certificate.
SigningCertPrivateKeyContainerThe name of the PrivateKey container for the certificate (if available).
SigningCertPublicKeyThe public key of the certificate.
SigningCertPublicKeyAlgorithmTextual description of the public key algorithm of the certificate.
SigningCertPublicKeyLengthThe length of the certificate public key (in bits).
SigningCertSerialNumberThe serial number of the certificate encoded as a string.
SigningCertSignatureAlgorithmTextual description of the signature algorithm of the certificate.
SigningCertStoreThe name of the certificate store for the client certificate.
SigningCertStorePasswordIf the certificate store is of a type that requires a password, this property is used to specify that password in order to open the certificate store.
SigningCertStoreTypeThe type of certificate store for this certificate.
SigningCertSubjectThe subject of the certificate used for client authentication.
SigningCertSubjectAltNamesA comma-separted lists of alternative subject names of the certificate.
SigningCertThumbprintMD5MD5 hash of the certificate.
SigningCertThumbprintSHA1SHA1 hash of the certificate.
SigningCertUsageTextual description of UsageFlags .
SigningCertUsageFlagsFlags that show intended use for the certificate.
SigningCertVersionThe certificate's version number.
SSLAcceptServerCertEncodedThe certificate (PEM/base64 encoded).
SSLCertEncodedThe certificate (PEM/base64 encoded).
SSLCertStoreThe name of the certificate store for the client certificate.
SSLCertStorePasswordIf the certificate store is of a type that requires a password, this property is used to specify that password in order to open the certificate store.
SSLCertStoreTypeThe type of certificate store for this certificate.
SSLCertSubjectThe subject of the certificate used for client authentication.
SSLServerCertEncodedThe certificate (PEM/base64 encoded).
SSLStartModeDetermines how the component starts the SSL negotiation. By default, SSL will not be used.
SubjectThe subject of the message.
UserThe user identifier to use for login.

Method List


The following is the full list of the methods of the component with short descriptions. Click on the links for further details.

AbortAbort Current Upload/Download.
ConfigSets or retrieves a configuration setting.
DeleteFileRemove a file specified by FileName from an FTP server.
GetFileSizeGets the size of a file on the FTP server.
GetFileTimeGets the last modification time of a file on the FTP server.
ListDirectoryList the current directory on an FTP server.
ListDirectoryLongList the current directory on an FTP server.
LogoffLogoff from the FTP server by posting a QUIT command.
LogonLogon to the FTP RemoteHost using the current User and Password.
ReadReceiptReads and parses (but does not verify) an MDN receipt.
SendPrepares and sends the AS3 message.
VerifyReceiptVerifies an MDN receipt.

Event List


The following is the full list of the events fired by the component with short descriptions. Click on the links for further details.

ConnectionStatusFired to indicate changes in connection state.
DirListFired when a directory entry is received.
EndTransferFired when a file completes downloading/uploading.
ErrorInformation about errors during data delivery.
PITrailTraces the commands sent to the server, and the respective replies.
SSLServerAuthenticationFired after the server presents its certificate to the client.
SSLStatusShows the progress of the secure connection.
StartTransferFired when a file starts downloading/uploading.
TransferFired during file download/upload.

Configuration Settings


The following is a list of configuration settings for the component with short descriptions. Click on the links for further details.

ActiveModePORTAddressAllows the specification of the PORT address value for active mode connections.
CalculatePercentDoneEnables or Disables calculating the percent complete for downloads.
MaxDirEntriesInstructs component to save the amount of entries specified that are returned by the server after a ListDirectory call has been made.
PortRangeAllows the specification of a port range where the component listens for active mode connections.
UseEPSVAllows extended passive mode.
UseRemoteHostAddressForPassiveInstructs component to use the RemoteHost in passive mode.
UseClearChannelAllows for the Clear Command Channel (CCC) command.
UseClearDataChannelAllows for the PROT C command.
UseOldAUTHSSLAllows use of the 'AUTH SSL' command instead of 'AUTH TLS'.
UseProtWhenImplicitSends the PROT P command to the server.
UseIPv6Whether or not to use IPv6.
MaxLineLengthThe maximum amount of data to accumulate when no EOL is found.
FirewallAutoDetectTells the component whether or not to automatically detect and use firewall system settings, if available.
FirewallHostName or IP address of firewall (optional).
FirewallListenerIf true, the component binds to a SOCKS firewall as a server (IPPort only).
FirewallPasswordPassword to be used if authentication is to be used when connecting through the firewall.
FirewallPortThe TCP port for the FirewallHost;.
FirewallUserA user name if authentication is to be used connecting through a firewall.
FirewallTypeDetermines the type of firewall to connect through.
TcpNoDelayWhether or not to delay when sending packets.
ReuseSSLSessionDetermines if the SSL session is reused.
SSLCipherStrengthThe minimum cipher strength used for bulk encryption.
SSLEnabledProtocolsUsed to enable/disable the supported security protocols.
SSLProviderThe name of the security provider to use.
SSLSecurityFlagsFlags that control certificate verification.
OpenSSLCADirThe path to a directory containing CA certificates.
OpenSSLCAFileName of the file containing the list of CA's trusted by your application.
OpenSSLCipherListA string that controls the ciphers to be used by SSL.
OpenSSLPrngSeedDataThe data to seed the pseudo random number generator (PRNG).
AbsoluteTimeoutDetermines whether timeouts are inactivity timeouts or absolute timeouts.
FirewallDataUsed to send extra data to the firewall.
InBufferSizeThe size in bytes of the incoming queue of the socket.
OutBufferSizeThe size in bytes of the outgoing queue of the socket.
CodePageThe system code page used for Unicode to Multibyte translations.
| About | Privacy Policy | Terms of Use |
© Copyright 2012 /n software inc.