2018-12-12 18:41:19 +08:00
|
|
|
{
|
|
|
|
"groups": {},
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policies": {
|
|
|
|
"Admins": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policy": {
|
|
|
|
"type": 1,
|
|
|
|
"value": {
|
|
|
|
"identities": [
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org3MSP",
|
|
|
|
"role": "ADMIN"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"rule": {
|
|
|
|
"n_out_of": {
|
|
|
|
"n": 1,
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"signed_by": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Readers": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policy": {
|
|
|
|
"type": 1,
|
|
|
|
"value": {
|
|
|
|
"identities": [
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org3MSP",
|
|
|
|
"role": "ADMIN"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org3MSP",
|
|
|
|
"role": "PEER"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org3MSP",
|
|
|
|
"role": "CLIENT"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"rule": {
|
|
|
|
"n_out_of": {
|
|
|
|
"n": 1,
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"signed_by": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"signed_by": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"signed_by": 2
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "0"
|
|
|
|
},
|
|
|
|
"Writers": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"policy": {
|
|
|
|
"type": 1,
|
|
|
|
"value": {
|
|
|
|
"identities": [
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org3MSP",
|
|
|
|
"role": "ADMIN"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"principal": {
|
|
|
|
"msp_identifier": "Org3MSP",
|
|
|
|
"role": "CLIENT"
|
|
|
|
},
|
|
|
|
"principal_classification": "ROLE"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"rule": {
|
|
|
|
"n_out_of": {
|
|
|
|
"n": 1,
|
|
|
|
"rules": [
|
|
|
|
{
|
|
|
|
"signed_by": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"signed_by": 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"version": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"values": {
|
|
|
|
"MSP": {
|
|
|
|
"mod_policy": "Admins",
|
|
|
|
"value": {
|
|
|
|
"config": {
|
|
|
|
"admins": [
|
2018-12-19 16:31:55 +08:00
|
|
|
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNLakNDQWRHZ0F3SUJBZ0lSQU8yS29IK0ZyTjB4UTUzOEcwYkRsWG93Q2dZSUtvWkl6ajBFQXdJd2N6RUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOHhHVEFYQmdOVkJBb1RFRzl5WnpNdVpYaGhiWEJzWlM1amIyMHhIREFhQmdOVkJBTVRFMk5oCkxtOXlaek11WlhoaGJYQnNaUzVqYjIwd0hoY05NVGd4TWpFNU1EZ3dOakF3V2hjTk1qZ3hNakUyTURnd05qQXcKV2pCc01Rc3dDUVlEVlFRR0V3SlZVekVUTUJFR0ExVUVDQk1LUTJGc2FXWnZjbTVwWVRFV01CUUdBMVVFQnhNTgpVMkZ1SUVaeVlXNWphWE5qYnpFUE1BMEdBMVVFQ3hNR1kyeHBaVzUwTVI4d0hRWURWUVFEREJaQlpHMXBia0J2CmNtY3pMbVY0WVcxd2JHVXVZMjl0TUZrd0V3WUhLb1pJemowQ0FRWUlLb1pJemowREFRY0RRZ0FFY1hUK1B3VG4KZDMvTjRQQmNIdU5KTVg0N21TZUtnU1NHOW9SWVVEdDlOaEM3dGExMnJpdDlnSkNlbXV2ZUNqVGZHbWx6OG1hYgo2ZE9FKzZRZ29qVUYycU5OTUVzd0RnWURWUjBQQVFIL0JBUURBZ2VBTUF3R0ExVWRFd0VCL3dRQ01BQXdLd1lEClZSMGpCQ1F3SW9BZ1k0MFp1V1ZuNjhLaEJhb0JVOWtzc2JMQ1FoOTVoQkVzYjBFbmdSQzE5VEV3Q2dZSUtvWkkKemowRUF3SURSd0F3UkFJZ0Ric0dmd2dTQUdmVnEyZHpOQWlRVHNBQll5Z3lVaUI1Z0tEMnBjSVBPS01DSUcvYQppdFZxRFczOWF4WjhTUVRUeHR5VVFzcEg1ZU84cTF4STdrTUtZeTlxCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
|
2018-12-12 18:41:19 +08:00
|
|
|
],
|
|
|
|
"crypto_config": {
|
|
|
|
"identity_identifier_hash_function": "SHA256",
|
|
|
|
"signature_hash_family": "SHA2"
|
|
|
|
},
|
|
|
|
"fabric_node_ous": {
|
|
|
|
"client_ou_identifier": {
|
2018-12-19 16:31:55 +08:00
|
|
|
"certificate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UgvQkFVd0F3RUIvekFwQmdOVkhRNEVJZ1FnWTQwWnVXVm42OEtoQmFvQlU5a3MKc2JMQ1FoOTVoQkVzYjBFbmdSQzE5VEV3Q2dZSUtvWkl6ajBFQXdJRFJ3QXdSQUlnVWtyU2tIaTVSSnpKRDR6OQpsN1RVaHgyaHI2dmlPVmRpWG0vbFMveUZORW9DSUUweUl1c0IrQ0lBb01laitTUnpYYU5ydHJDcFJPUzUwM0pwCmJCMnhvV0tQCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K",
|
2018-12-12 18:41:19 +08:00
|
|
|
"organizational_unit_identifier": "peer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"intermediate_certs": [],
|
|
|
|
"name": "Org3MSP",
|
|
|
|
"organizational_unit_identifiers": [],
|
|
|
|
"revocation_list": [],
|
|
|
|
"root_certs": [
|
2018-12-19 16:31:55 +08:00
|
|
|
"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNRakNDQWVtZ0F3SUJBZ0lRZHlyY1BBeFVBcjFUYldhR3pHRFRqVEFLQmdncWhrak9QUVFEQWpCek1Rc3cKQ1FZRFZRUUdFd0pWVXpFVE1CRUdBMVVFQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRUJ4TU5VMkZ1SUVaeQpZVzVqYVhOamJ6RVpNQmNHQTFVRUNoTVFiM0puTXk1bGVHRnRjR3hsTG1OdmJURWNNQm9HQTFVRUF4TVRZMkV1CmIzSm5NeTVsZUdGdGNHeGxMbU52YlRBZUZ3MHhPREV5TVRrd09EQTJNREJhRncweU9ERXlNVFl3T0RBMk1EQmEKTUhNeEN6QUpCZ05WQkFZVEFsVlRNUk13RVFZRFZRUUlFd3BEWVd4cFptOXlibWxoTVJZd0ZBWURWUVFIRXcxVApZVzRnUm5KaGJtTnBjMk52TVJrd0Z3WURWUVFLRXhCdmNtY3pMbVY0WVcxd2JHVXVZMjl0TVJ3d0dnWURWUVFECkV4TmpZUzV2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