NodeOPCUA API Documentation
    Preparing search index...

    Interface SecureMessageData

    interface SecureMessageData {
        cipherBlockSize: number;
        encryptBufferFunc: EncryptBufferFunc;
        plainBlockSize: number;
        sealBufferFunc?: SealChunkFunc;
        signatureLength: number;
        signBufferAsyncFunc?: SignBufferAsyncFunc;
        signBufferFunc?: SignBufferFunc;
        signOnly?: boolean;
    }
    Index
    cipherBlockSize: number
    encryptBufferFunc: EncryptBufferFunc
    plainBlockSize: number
    sealBufferFunc?: SealChunkFunc

    for a message of a policy with authenticated encryption: seals a whole chunk in one step, in place (the encryption and the tag, which is written in the last signatureLength bytes). It replaces the signing and the encryption functions, and the block sizes are 0.

    The shape of this symbol can change in any release: it is an Unstable API of EXPERIMENTAL.md. It is on when you use it, there is no switch and it logs no warning.

    signatureLength: number
    signBufferAsyncFunc?: SignBufferAsyncFunc
    signBufferFunc?: SignBufferFunc
    signOnly?: boolean

    true for a message that is signed and not encrypted whatever the security mode: the OpenSecureChannel message of a policy with no asymmetric encryption. The block sizes are 0.