You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"doc": "Defines persistent record for the HSM common configuration parameters.",
4
+
"namespace": "net.corda.data.crypto.wire.hsm",
5
+
"doc": "Defines information for HSM common configuration parameters.",
6
6
"fields": [
7
7
{
8
8
"name": "id",
@@ -18,40 +18,30 @@
18
18
"doc": "Time ([Instant]) in milliseconds when the record was updated or added."
19
19
},
20
20
{
21
-
"name": "version",
22
-
"type": "int",
23
-
"doc": "Ever increasing on each update version of the record, the initial value is 1."
24
-
},
25
-
{
26
-
"name": "hsmLabel",
27
-
"type": "string",
28
-
"doc": "Label associated with HSM worker to partition for HSMs which don't support more than one HSM per process/VM. The default value is 'default'."
21
+
"name": "workerLabel",
22
+
"type": [
23
+
"null",
24
+
"string"
25
+
],
26
+
"doc": "Label associated with HSM worker to partition for HSMs which don't support more than one HSM per process/VM."
29
27
},
30
28
{
31
29
"name": "description",
32
30
"type": "string",
33
31
"doc": "The human readable description of the HSM instance, like 'HSM on the first floor' or anything which helps tp understand what HSM is allocated."
34
32
},
35
33
{
36
-
"name": "serviceName",
37
-
"type": "string",
38
-
"doc": "Name of the CryptoServiceProvider which is sued to create interface to the HSM."
34
+
"name": "masterKeyPolicy",
35
+
"type": "MasterKeyPolicy",
36
+
"doc": "How to generate wrapping key on the HSM registration."
39
37
},
40
38
{
41
-
"name": "byoTenantId",
39
+
"name": "masterKeyAlias",
42
40
"type": [
43
41
"null",
44
42
"string"
45
43
],
46
-
"doc": "The tenant id which owns the HSM instance. That HSM can be made available only for that tenant."
47
-
},
48
-
{
49
-
"name": "categories",
50
-
"type": {
51
-
"type": "array",
52
-
"items": "string"
53
-
},
54
-
"doc": "Categories, like TLS, LEDGER, FRESH_KEYS, etc., the HSM can be used for."
44
+
"doc": "If masterKeyPolicy=SHARED then this field must be specified with the wrapping key name."
55
45
},
56
46
{
57
47
"name": "retries",
@@ -70,6 +60,16 @@
70
60
"items": "string"
71
61
},
72
62
"doc": "List of supported signature scheme codes, must be a subset of schemes defined in the cipher suite."
63
+
},
64
+
{
65
+
"name": "serviceName",
66
+
"type": "string",
67
+
"doc": "Name of the CryptoServiceProvider which is used to create interface to the HSM."
68
+
},
69
+
{
70
+
"name": "capacity",
71
+
"type": "int",
72
+
"doc": "Maximum number of tenants that the instance can be assigned to (the actual allocations may exceed slightly that number). -1 means there is no limit"
0 commit comments