{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.0.0-alpha","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package accesscontrol\n\nCopyright IBM Corp. 2016 All Rights Reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\n\thttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n\n## Types\n\n```go\ntype Attribute struct {\n\tName  string\n\tValue []byte\n}\n```\nAttribute defines a name, value pair to be verified.\n\n```go\ntype AttributesManager interface {\n\tReadCertAttribute(attributeName string) ([]byte, error)\n\n\tVerifyAttribute(attributeName string, attributeValue []byte) (bool, error)\n\n\tVerifyAttributes(attrs ...*Attribute) (bool, error)\n}\n```\nAttributesManager can be used to verify and read attributes.\n\n","path":"github.com/eric-erki/https-hyperledger.org/accesscontrol","name":"accesscontrol","synopsis":"","isRedistributable":true}
