NodeOPCUA API Documentation
    Preparing search index...

    Function makeOpenSecureChannelSecurityOptions

    • How to sign and to encrypt an OpenSecureChannel message, on the client and on the server: the sizes come from the key of the sender (the signature) and from the public key of the receiver (the encryption).

      cachedKeyMetadata is the metadata of keyOperations, resolved before the call: it is needed when the provider has no synchronous form.

      Parameters

      Returns SecureMessageData

      The parameters of this function are expected to change when a policy that is not for RSA keys is added. It is an Unstable API of EXPERIMENTAL.md: it is on when you use it, there is no switch and it logs no warning, but its shape can change in any release.