@@ -32,9 +32,9 @@ export interface EstablishmentState {
32
32
export interface IdentifierManagerState { }
33
33
34
34
/**
35
- * Interface defining configuration parameters for a SaltyIdentifierManager
35
+ * Interface defining configuration parameters for a specified, deterministic salt of an IdentifierManager.
36
36
*/
37
- export interface SaltyState extends IdentifierManagerState {
37
+ export interface SaltyKeyState extends IdentifierManagerState {
38
38
/**
39
39
* Encrypted
40
40
*/
@@ -49,32 +49,44 @@ export interface SaltyState extends IdentifierManagerState {
49
49
transferable : boolean ;
50
50
}
51
51
52
- export interface RandyState extends IdentifierManagerState {
52
+ /**
53
+ * Interface defining configuration parameters for a random seed identifier manager.
54
+ */
55
+ export interface RandyKeyState extends IdentifierManagerState {
53
56
prxs : string [ ] ;
54
57
nxts : string [ ] ;
55
58
}
56
59
57
- export interface GroupState extends IdentifierManagerState {
60
+ /**
61
+ * Interface defining properties a multi-signature group identifier manager.
62
+ */
63
+ export interface GroupKeyState extends IdentifierManagerState {
58
64
mhab : HabState ;
59
65
keys : string [ ] ;
60
66
ndigs : string [ ] ;
61
67
}
62
68
69
+ /**
70
+ * Interface defining properties for an external module identifier manager that uses externally managed keys such as in an HSM or a KMS system.
71
+ */
63
72
export interface ExternState extends IdentifierManagerState {
64
73
extern_type : string ;
65
74
pidx : number ;
66
75
[ key : string ] : unknown ;
67
76
}
68
77
78
+ /**
79
+ * Interface defining properties of an identifier habitat, know as a Hab in KERIpy.
80
+ */
69
81
export interface HabState {
70
82
name : string ;
71
83
prefix : string ;
72
84
transferable : boolean ;
73
85
state : KeyState ;
74
86
windexes : unknown [ ] ;
75
87
icp_dt : string ;
76
- [ Algos . salty ] ?: SaltyState ;
77
- [ Algos . randy ] ?: RandyState ;
78
- [ Algos . group ] ?: GroupState ;
88
+ [ Algos . salty ] ?: SaltyKeyState ;
89
+ [ Algos . randy ] ?: RandyKeyState ;
90
+ [ Algos . group ] ?: GroupKeyState ;
79
91
[ Algos . extern ] ?: ExternState ;
80
92
}
0 commit comments