TrustChain
in package
Resolve the EntityStatement and apply authority policy
Table of Contents
- __construct() : EntityStatement
- creates a new EntityStatement instance
- resolve() : mixed
- resolve the entity statement recursively
Methods
__construct()
creates a new EntityStatement instance
public
__construct(array<string|int, mixed> $config, Database $database, string $leaf, string $trust_anchor[, string $entity = null ]) : EntityStatement
Parameters
- $config : array<string|int, mixed>
-
base configuration
- $database : Database
-
instance of Database
- $leaf : string
-
id of leaf entity for wich resolve configuration
- $trust_anchor : string
-
id of the trust anchor authority
- $entity : string = null
-
id of the current entity node if it's intermediate
Tags
Return values
EntityStatement —resolve()
resolve the entity statement recursively
public
resolve([bool $apply_policy = true ]) : mixed
Parameters
- $apply_policy : bool = true
-
if true applies trust anchor authorities policies