Knowee
Questions
Features
Study Tools

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 /> Admins:<br /> Type: Signature<br /> Rules: ‘AND(“OrderedMSP.admin’)”Policies:<br /> Admins:<br /> Type: ImplicitMeta<br /> Policy: “OR(‘admin.Orderedmsp’)”Policies:<br /> Admin:<br /> Type: ImplicitMeta<br /> Rules: ‘AND(“admin”)’Policies:<br /> Admins:<br /> Type: Signature<br /> Rules: “OR(‘OrderedMSP.admin’)”

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 /> Admins:<br /> Type: Signature<br /> Rules: ‘AND(“OrderedMSP.admin’)”Policies:<br /> Admins:<br /> Type: ImplicitMeta<br /> Policy: “OR(‘admin.Orderedmsp’)”Policies:<br /> Admin:<br /> Type: ImplicitMeta<br /> Rules: ‘AND(“admin”)’Policies:<br /> Admins:<br /> Type: Signature<br /> Rules: “OR(‘OrderedMSP.admin’)”

...expand
🧐 Not the exact question you are looking for?Go ask a question

Solution

The correct syntax for writing an explicit policy/rule for admin in Hyperledger would be:

Policies: Admins: Type: Signature Rules: "OR('OrderedMSP.admin')"

This syntax is correct because it defines a policy named "Admins" of type "Signature". The rule is that at least one signature from an admin of the 'OrderedMSP' is required. The 'OR' operator in the rule means that any one of the specified principals is enough to satisfy the policy.

This problem has been solved

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

1/1

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.