UA_stackInternalTypes.bsd 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <opc:TypeDictionary
  2. xmlns:opc="http://opcfoundation.org/BinarySchema/"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xmlns:ua="http://opcfoundation.org/UA/"
  5. xmlns:tns="http://opcfoundation.org/UA/"
  6. DefaultByteOrder="LittleEndian"
  7. TargetNamespace="http://opcfoundation.org/UA/"
  8. >
  9. <opc:Import Namespace="http://opcfoundation.org/BinarySchema/" />
  10. <!-- Types within the Stack Begin -->
  11. <opc:StructuredType Name="OPCUATcpMessageHeader">
  12. <opc:Documentation>TCP Header</opc:Documentation>
  13. <opc:Field Name="MessageType" TypeName="opc:UInt32" />
  14. <opc:Field Name="IsFinal" TypeName="opc:Byte" />
  15. <opc:Field Name="MessageSize" TypeName="opc:UInt32" />
  16. </opc:StructuredType>
  17. <opc:StructuredType Name="OPCUATcpHelloMessage">
  18. <opc:Documentation>Hello Message</opc:Documentation>
  19. <opc:Field Name="ProtocolVersion" TypeName="opc:UInt32" />
  20. <opc:Field Name="ReceiveBufferSize" TypeName="opc:UInt32" />
  21. <opc:Field Name="SendBufferSize" TypeName="opc:UInt32" />
  22. <opc:Field Name="MaxMessageSize" TypeName="opc:UInt32" />
  23. <opc:Field Name="MaxChunkCount" TypeName="opc:UInt32" />
  24. <opc:Field Name="EndpointUrl" TypeName="opc:String" />
  25. </opc:StructuredType>
  26. <opc:StructuredType Name="OPCUATcpAcknowledgeMessage">
  27. <opc:Documentation>Acknowledge Message</opc:Documentation>
  28. <opc:Field Name="ProtocolVersion" TypeName="opc:UInt32" />
  29. <opc:Field Name="ReceiveBufferSize" TypeName="opc:UInt32" />
  30. <opc:Field Name="SendBufferSize" TypeName="opc:UInt32" />
  31. <opc:Field Name="MaxMessageSize" TypeName="opc:UInt32" />
  32. <opc:Field Name="MaxChunkCount" TypeName="opc:UInt32" />
  33. </opc:StructuredType>
  34. <opc:StructuredType Name="SecureConversationMessageHeader">
  35. <opc:Documentation>Secure Layer Sequence Header</opc:Documentation>
  36. <opc:Field Name="MessageHeader" TypeName="opc:OPCUATcpMessageHeader" />
  37. <opc:Field Name="SecureChannelId" TypeName="opc:UInt32" />
  38. </opc:StructuredType>
  39. <opc:StructuredType Name="AsymmetricAlgorithmSecurityHeader">
  40. <opc:Documentation>Security Header></opc:Documentation>
  41. <opc:Field Name="SecurityPolicyUri" TypeName="opc:ByteString" />
  42. <opc:Field Name="SenderCertificate" TypeName="opc:ByteString" />
  43. <opc:Field Name="ReceiverCertificateThumbprint" TypeName="opc:ByteString" />
  44. <opc:Field Name="RequestId" TypeName="opc:UInt32"/>
  45. </opc:StructuredType>
  46. <opc:StructuredType Name="SymmetricAlgorithmSecurityHeader">
  47. <opc:Documentation>Secure Layer Symmetric Algorithm Header</opc:Documentation>
  48. <opc:Field Name="TokenId" TypeName="opc:UInt32" />
  49. </opc:StructuredType>
  50. <opc:StructuredType Name="SequenceHeader">
  51. <opc:Documentation>Secure Layer Sequence Header</opc:Documentation>
  52. <opc:Field Name="SequenceNumber" TypeName="opc:UInt32" />
  53. <opc:Field Name="RequestId" TypeName="opc:UInt32"/>
  54. </opc:StructuredType>
  55. <opc:StructuredType Name="SecureConversationMessageFooter">
  56. <opc:Documentation>Secure Conversation Message Footer</opc:Documentation>
  57. <opc:Field Name="PaddingSize" TypeName="opc:Byte" />
  58. <opc:Field Name="Padding" TypeName="opc:Byte" LengthField="PaddingSize" />
  59. <opc:Field Name="Signature" TypeName="opc:Byte"/>
  60. </opc:StructuredType>
  61. <opc:StructuredType Name="SecureConversationMessageAbortBody">
  62. <opc:Documentation>Secure Conversation Message Abort Body</opc:Documentation>
  63. <opc:Field Name="Error" TypeName="opc:UInt32" />
  64. <opc:Field Name="Reason" TypeName="opc:String" />
  65. </opc:StructuredType>
  66. <!-- Types within the Stack End -->
  67. </opc:TypeDictionary>