Documentation
¶
Index ¶
- func ActivateObject(l *list.List, name_obj string, epoch int) error
- func AddAndRotateNewKeyEpoch(name_obj string, obj_type string, existing_status string, new_status string, ...) (*protected_objects.ObjectMessage, error)
- func AddNewKeyEpoch(l *list.List, name_obj string, obj_type string, existing_status string, ...) (*protected_objects.ObjectMessage, *protected_objects.ObjectMessage, error)
- func ChangeObjectStatus(l *list.List, name_obj string, epoch int, new_status string) error
- func ForceInclude()
- func InactivateObject(l *list.List, name_obj string, epoch int) error
- func RetireObject(l *list.List, name_obj string, epoch int) error
- func RevokeObject(l *list.List, name_obj string, epoch int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivateObject ¶
Activate indicated object
func AddAndRotateNewKeyEpoch ¶
func AddAndRotateNewKeyEpoch(name_obj string, obj_type string, existing_status string, new_status string, notBefore string, notAfter string, value []byte, obj_list *list.List, protected_obj_list *list.List) (*protected_objects.ObjectMessage, error)
Find all the objects protected by existing object. For each, make a new protected object with new protector. Add all resulting nodes to the node list. Return new epoch.
func AddNewKeyEpoch ¶
func AddNewKeyEpoch(l *list.List, name_obj string, obj_type string, existing_status string, new_status string, notBefore string, notAfter string, value []byte) (*protected_objects.ObjectMessage, *protected_objects.ObjectMessage, error)
Make object with new epoch and return it
func ChangeObjectStatus ¶
func ForceInclude ¶
func ForceInclude()
func InactivateObject ¶
Inactivate indicated object
func RetireObject ¶
Retire indicated object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.