CONFIG (STRUCT)¶
TYPE CONFIG : STRUCT
Contains the properties of a security policy
These are usable for calculationg the size of the key’s
TYPE PubSubMessageSecurity :
STRUCT
    SignatureKey : ARRAY[0..(udiSignatureKeySize-1)] OF BYTE;
    EncryptionKey : ARRAY[0..(udiEncryptionKeySize-1)] OF BYTE;
    KeyNonce : ARRAY[0..(udiNonceSize-1)] OF BYTE;
END_STRUCT
END_TYPE
- InOut:
- Name - Type - Comment - refuriSecurityPolicy- REFERENCE TO URI - The URI of the Security Policy - refuriSignature- REFERENCE TO URI - The URI of the signature algorithm - refuriEncryption- REFERENCE TO URI - The URI of the encryption algorithm - udiNonceSize- UDINT- The size of the noces used by this policy - udiSignatureKeySize- UDINT- The size of the key used by the signature algorithm of this policy - udiSignatureSize- UDINT- The output size of the signature algorithm of this policy - udiEncryptionKeySize- UDINT- The size of the key used by the encryption algorithm of this policy - udiBlockSize- UDINT- The blocksize of the encryption algorithm of this policy - udiInitialVectorSize- UDINT- The size of the initial vector used for en/-decryption of this policy