NodeOPCUA API Documentation
    Preparing search index...

    Interface SecurityGroupKeyRingOptions

    The options of a SecurityGroupKeyRing.

    The shape of this interface can change in any release. See EXPERIMENTAL.md.

    interface SecurityGroupKeyRingOptions {
        clock?: () => number;
        firstTokenId?: number;
        keyLifetime: number;
        makeKey?: (securityPolicyUri: string) => Buffer;
        maxFutureKeyCount: number;
        maxPastKeyCount: number;
        securityPolicyUri: string;
    }
    Index
    clock?: () => number

    The clock, in milliseconds. The default is Date.now.

    firstTokenId?: number

    The SecurityTokenId of the first key: 1 by default. An integer from 1 to 0xFFFFFFFF. Use it to test the restart at 1 after 0xFFFFFFFF, or for a server that continues after a SecurityTokenId that it kept.

    keyLifetime: number

    The time, in milliseconds, for which one key is the current key. Finite and greater than 0.

    makeKey?: (securityPolicyUri: string) => Buffer

    The source of a new key. The default is makePubSubKeyData of node-opcua-crypto.

    maxFutureKeyCount: number

    The number of keys after the current key that the ring makes ahead of time. An integer from 0 to 0xFFFFFFFF.

    maxPastKeyCount: number

    The number of keys before the current key that the ring keeps. An integer from 0 to 0xFFFFFFFF.

    securityPolicyUri: string

    The SecurityPolicy of the group. It must be a PubSub SecurityPolicy.