Creating a Domain with DOFObjectID.Domain

The second component required for authentication is the domain. The domain, as used in DOF technology, is the container of all permissions granted to a node, and it allows communication between all objects within the domain, based on the permissions granted to an object.

Note: It is not possible (unless each domain is a security bridge) for one remote domain to communicate with another remote domain, regardless of permissions. Here we create a domain with DOFObject.Domain.

Domain Identifiers

Each domain has an identifier. Domain identifiers are not required in a set of credentials, but it is strongly recommended that you include them if they are known.

How It Works

The domain identifier must be an object identifier (OID) that is properly constructed according to DOF rules for creating OIDs. The class for domain identifiers is called DOFObjectID.Domain. It is instantiated using a create method.

For example, Class 6 would look like this: [6:tech-services.emit-networking.org].

For additional information, the class registry is located at https://opendof.org/support/registries/oid-class-registry/.