HashSet class object

A HashSet class object is a set of arrays known as a pool. The type of elements of arrays, size of the pool, and size of an array is indicated in the object configuration. Policies are provided to do the following:

Object configuration

A HashSet class object configuration contains the following elements:

All configuration parameters are required when creating a class object.

Audit configuration

A HashSet class object does not contain additional fields for an audit configuration.

Example

security.psl

...

use nk.hashmap._

policy object S : HashSet {

type Entry = UInt32 // array elements are integers

config =

{ set_size: 5

, pool_size: 2

}

}

Page top