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
refuriSecurityPolicyREFERENCE TO URI
The URI of the Security Policy
refuriSignatureREFERENCE TO URI
The URI of the signature algorithm
refuriEncryptionREFERENCE TO URI
The URI of the encryption algorithm
udiNonceSizeUDINTThe size of the noces used by this policy
udiSignatureKeySizeUDINTThe size of the key used by the signature algorithm of this policy
udiSignatureSizeUDINTThe output size of the signature algorithm of this policy
udiEncryptionKeySizeUDINTThe size of the key used by the encryption algorithm of this policy
udiBlockSizeUDINTThe blocksize of the encryption algorithm of this policy
udiInitialVectorSizeUDINTThe size of the initial vector used for en/-decryption of this policy