package
0.2501.0
Repository: https://github.com/oasisprotocol/oasis-core.git
Documentation: pkg.go.dev

# Functions

NewPolicy returns an empty policy.
SubjectFromPublicKey returns a Subject from the given public key.
SubjectFromX509Certificate returns a Subject from the given X.509 certificate.

# Constants

AnySubject is a wildcard subject.

# Type aliases

Action is an access control action.
Policy maps from Actions to a mapping from Subjects to booleans indicating whether the given subject is allowed to perform the given action or not.
Subject is an access control subject.