While working on a project using Hyperledger, if you need to write an explicit policy/rule for admin, then which of the following syntaxes can be used?Policies:<br /> Admin:<br /> Type: ImplicitMeta<br /> Rules: ‘AND(“admin”)’Policies:<br /> Admins:<br /> Type: Signature<br /> Rules: ‘AND(“OrderedMSP.admin’)”Policies:<br /> Admins:<br /> Type: Signature<br /> Rules: “OR(‘OrderedMSP.admin’)”Policies:<br /> Admins:<br /> Type: ImplicitMeta<br /> Policy: “OR(‘admin.Orderedmsp’)”
Question
While working on a project using Hyperledger, if you need to write an explicit policy/rule for admin, then which of the following syntaxes can be used?Policies:<br /> Admin:<br /> Type: ImplicitMeta<br /> Rules: ‘AND(“admin”)’Policies:<br /> Admins:<br /> Type: Signature<br /> Rules: ‘AND(“OrderedMSP.admin’)”Policies:<br /> Admins:<br /> Type: Signature<br /> Rules: “OR(‘OrderedMSP.admin’)”Policies:<br /> Admins:<br /> Type: ImplicitMeta<br /> Policy: “OR(‘admin.Orderedmsp’)”
Solution
The correct syntax for writing an explicit policy/rule for admin in Hyperledger would be:
Policies: Admins: Type: Signature Rules: ‘AND(“OrderedMSP.admin’)”
This syntax is used to define a policy named "Admins" of type "Signature". The rule is that the admin signature from the organization specified (in this case, OrderedMSP) is required. The 'AND' indicates that all specified principals must satisfy the policy.
Similar Questions
In Hyperledger Fabric, which of the following files contain/define the policies governed by the orderer?configtx.yamlconfigsys.jscore.yamlchaincode.js
A___communicates general rules that cut across the entire organization • guidelineO procedureO policy principles documentO policy definitions document
Which of the following options does NOT belong to User Domain Policies?Help desk management PolicyPhysical security and clean desk policyPrivacy policyCorporate mobility policy
True or false. ISS policies must set rules for users, define consequences of violations, and minimize risk to the organization. There are typically five different types of documents in a policy framework: 1) Principles; 2) Policy; 3) Standard; 4) Procedure, and 5) Guideline.
While working in Hyperledger, which of the following is correct about Certificate Authority?Hyperledger supports the root CA and intermediate CA for signing certificates. The root CA signs the certificate and assigns intermediate CAs to sign it as wellHyperledger supports the root CA and intermediate CA for signing certificates. The root CA will assign intermediate CAs, and the intermediate CA will sign the certificateHyperledger supports root CA and intermediate CAs. The root CA signs the certificate and assigns intermediate CAs, who in turn can assign other intermediate CAs in addition to signing the certificateHyperledger supports only a single root CA for signing certificates
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.