1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- /*
- * opcua_secureChannelLayer.h
- *
- * Created on: Dec 19, 2013
- * Author: opcua
- */
- #ifndef OPCUA_SECURECHANNELLAYER_H_
- #define OPCUA_SECURECHANNELLAYER_H_
- static const Int32 SL_HEADER_LENGTH = 0;
- typedef struct _SL_OpenSecureChannelResponse
- {
- };
- typedef struct _SL_SecureConversationMessageHeader
- {
- UInt32 MessageType;
- Byte IsFinal;
- UInt32 MessageSize;
- UInt32 SecureChannelId;
- }SL_SecureConversationMessageHeader;
- typedef struct _SL_AsymmetricAlgorithmSecurityHeader
- {
- UA_String SecurityPolicyUri;
- UA_String SenderCertificate;
- UA_String ReceiverThumbprint;
- }SL_AsymmetricAlgorithmSecurityHeader;
- typedef struct _SL_SequenceHeader
- {
- UInt32 SequenceNumber;
- UInt32 RequestId;
- }SL_SequenceHeader;
- /*
- * optional, only if there is encryption present
- */
- typedef struct _SL_AsymmetricAlgorithmSecurityFooter
- {
- Byte PaddingSize;
- Byte *Padding;
- UInt32 SignatureSize;
- Byte *Signature;
- }SL_AsymmetricAlgorithmSecurityFooter;
- #endif /* OPCUA_SECURECHANNELLAYER_H_ */
|