NodeOPCUA API Documentation
    Preparing search index...

    Function getEcKeyOperationsFromProvider

    • The key of provider as an IEcKeyOperations when that key is on an elliptic curve, and null when it is not: the twin of getKeyOperationsFromProvider, which is for an RSA key.

      A provider that implements ICertificateKeyPairProvider2 and gives the operations of a key on a curve answers for itself. Any other provider gets a local wrap of its private key, cached and refreshed as for an RSA key.

      null always means "the key is not on a curve". A provider that cannot give its key at all makes this function throw the error of the provider.

      Parameters

      Returns IEcKeyOperations | null