Optionalsigning: OpenSecureChannelSigningThe 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.
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).
cachedKeyMetadatais the metadata ofkeyOperations, resolved before the call: it is needed when the provider has no synchronous form.