NodeOPCUA API Documentation
    Preparing search index...

    Interface SecurityGroupOptions

    The options of one SecurityGroup of a PubSubKeyService.

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

    interface SecurityGroupOptions {
        firstTokenId?: number;
        keyLifetime: number;
        maxFutureKeyCount: number;
        maxPastKeyCount: number;
        rolePermissions?: RolePermissionTypeOptions[];
        securityGroupId: string;
        securityPolicyUri: string;
    }
    Index
    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 (OPC 10000-14 v1.05 §8.3.2, FirstTokenId), or for a server that continues after a SecurityTokenId that it kept. Like the rest of this interface, it is unstable.

    keyLifetime: number

    The lifetime of one key, in milliseconds.

    maxFutureKeyCount: number

    The number of future keys that the service gives to a caller (OPC 10000-14 v1.05 §8.4.1).

    maxPastKeyCount: number

    The number of past keys that the service keeps (OPC 10000-14 v1.05 §8.4.1).

    rolePermissions?: RolePermissionTypeOptions[]

    The RolePermissions of the SecurityGroup Object (OPC 10000-14 v1.05 §6.2.12.2, §8.3.2). Only a Role that has the permission Call gets keys. The default is an empty list: no Role gets keys, and this includes the Anonymous Role.

    securityGroupId: string

    The SecurityGroupId. It is also the BrowseName of the SecurityGroup Object: OPC 10000-14 v1.05 §6.2.12.2 requires that the two are the same.

    securityPolicyUri: string

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