Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking /
Chapter 5 - AppleTalk Data Stream Protocol (ADSP) / ADSP Reference
Data Structures


The TRSecureParams Record

The ASDSP parameter block is a variant parameter block that includes a field that is a record of type TRSecureParams, which defines the additional parameters required for an ASDSP session. This section shows the declaration for the TRSecureParams record. The routine description "sdspOpen" beginning on page 5-54 includes the field definitions for the TRSecureParams record.

The TRSecureParams record is defined as follows:

TYPE  TRSecureParams = 
PACKED RECORD
   localCID:            Integer;       {local connection ID}
   remoteCID:           Integer;       {remote connection ID}
   remoteAddress:       AddrBlock;     {address of remote end}
   filterAddress:       AddrBlock;     {address filter}
   sendSeq:             Longint;       {local send sequence number}
   sendWindow:          Integer;       {send window size}
   recvSeq:             LongInt;       {receive sequence number}
   attnSendSeq:         LongInt;       {attention send sequence number}
   attnRecvSeq:         LongInt;       {attention receive sequence number}
   ocMode:              Byte;          {open connection mode}
   ocInterval:          Byte;          {open connection request retry }
                                       { interval}
   ocMaximum:           Byte;          {open connection request retry }
                                       { maximum}
   secure:              Boolean;       {for initiator, TRUE if session is
                                       { authenticated }
                                       {for recipient, TRUE if session was }
                                       { authenticated}
   sessionKey:          AuthKeyPtr;    {encryption key for session}
   credentialsSize:     LongInt;       {length of credentials}
   credentials:         Ptr;           {pointer to credentials}
   workspace:           Ptr;           {pointer to workspace for }
                                       { connection. Align on even boundary }
                                       { and length = sdspWorkSize}
   recipient:           AuthIdentity;  {identity of recipient or initiator }
                                       { if active mode}
   issueTime:           UTCTime;       {time when credentials were issued}
   expiry:              UTCTime;       {time when credentials expire}
   initiator:           RecordIDPtr;   {RecordID of initiator returned in }
                                       { buffer pointed to by this field}
   hasIntermediary:     Boolean;       {set if credentials has an }
                                       { intermediary}
   intermediary:        RecordIDPtr;   {RecordID of intermediary returned }
                                       { here}
END;

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996