Abstract
Checks if the role can be created.
The role name or static role class to check.
True if the role can be created, false otherwise.
************* Semi-abstracts **************
Returns the name of the role.
The name of the role.
Gets the personIds of the sign key role.
The personIds of the sign key role in an one indexed array or an empty array if not found.
Checks if the data is affirmed by the role person ids.
The data to check.
Optional
byPersonId: SHA256IdHash<Person>The personId that should be trusting the data.
True if the data is affirmed, false otherwise.
Checks if the data is signed by the role person ids.
The data to check.
Optional
byPersonId: SHA256IdHash<Person>The personId that should be signing the data.
True if the data is signed, false otherwise.
Initializes the SignKeyRoleModel.
Returns true if the role is initialised.
True if the role is initialised, false otherwise.
Checks if the person is the sign key role person.
Optional
personId: SHA256IdHash<Person>The personId to check. Default is the current person.
True if the person is the sign key role person, false otherwise.
************* Not allowed **************
Optional
creatorId: SHA256IdHash<Person>Shares the sign key role with the given person.
The personIds to share the sign key role with.
Shuts down the SignKeyRoleModel.
A model that represents a sign key role.
Note: Depends on the reverse maps of the LeuteModel to be able to find the someone from the personId.