NodeOPCUA API Documentation
    Preparing search index...

    Interface MakeEccEncryptedSecretOptions

    interface MakeEccEncryptedSecretOptions {
        nonce: Buffer;
        receiverPublicKey: Buffer;
        secret: Buffer;
        securityPolicy: SecurityPolicy;
        senderEphemeralKey?: EphemeralEcKey;
        signingCertificateChain?: Buffer<ArrayBufferLike> | null;
        signingKey: PrivateKey | IEcKeyOperations | IKeyOperations;
        signingTime?: Date;
    }
    Index
    nonce: Buffer

    the last nonce of the receiver: the server nonce of CreateSession or ActivateSession

    receiverPublicKey: Buffer

    the public key of the ephemeral key that the receiver gave

    secret: Buffer

    what to protect: the password, as UTF-8 bytes

    securityPolicy: SecurityPolicy
    senderEphemeralKey?: EphemeralEcKey

    for a test with a known answer: the ephemeral key of the sender

    signingCertificateChain?: Buffer<ArrayBufferLike> | null

    The certificate chain to write in the secret. Leave it out when the receiver knows the signing certificate: a client that sends a user identity token on its SecureChannel.

    signingKey: PrivateKey | IEcKeyOperations | IKeyOperations

    the key of the certificate of the sender: the application certificate of the client

    signingTime?: Date

    for a test with a known answer