final case class DecentralizedNamespaceAuthorizationGraph(dnd: DecentralizedNamespaceDefinition, ownerGraphs: Seq[AuthorizationGraph]) extends AuthorizationCheck with Product with Serializable
Authorization graph for a decentralized namespace.
- Exceptions thrown
java.lang.IllegalArgumentException
ifdnd
andownerGraphs
refer to different namespaces.
- Alphabetic
- By Inheritance
- DecentralizedNamespaceAuthorizationGraph
- Serializable
- Product
- Equals
- AuthorizationCheck
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DecentralizedNamespaceAuthorizationGraph(dnd: DecentralizedNamespaceDefinition, ownerGraphs: Seq[AuthorizationGraph])
- Exceptions thrown
java.lang.IllegalArgumentException
ifdnd
andownerGraphs
refer to different namespaces.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def authorizedDelegations(): Map[Namespace, Seq[(AuthorizedNamespaceDelegation, Int)]]
Per namespace (required for decentralized namespaces), a list of namespace delegations that have a gapless chain to the root certificate together with the length of the chain to the root certificate for each namespace delegation.
Per namespace (required for decentralized namespaces), a list of namespace delegations that have a gapless chain to the root certificate together with the length of the chain to the root certificate for each namespace delegation.
- Definition Classes
- DecentralizedNamespaceAuthorizationGraph → AuthorizationCheck
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val dnd: DecentralizedNamespaceDefinition
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def existsAuthorizedKeyIn(authKeys: Set[Fingerprint], mappingToAuthorize: Code): Boolean
Determines if a subset of the given keys is authorized to sign a given mapping type on behalf of the (possibly decentralized) namespace.
Determines if a subset of the given keys is authorized to sign a given mapping type on behalf of the (possibly decentralized) namespace.
- mappingToAuthorize
the Code of the mapping that needs to be authorized.
- Definition Classes
- DecentralizedNamespaceAuthorizationGraph → AuthorizationCheck
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def keysSupportingAuthorization(authKeys: Set[Fingerprint], mappingToAuthorize: Code): Set[SigningPublicKey]
Returns those keys that are useful for signing on behalf of the (possibly decentralized) namespace.
Returns those keys that are useful for signing on behalf of the (possibly decentralized) namespace. Only keys with fingerprint in
authKeys
will be returned. The returned keys are not necessarily sufficient to authorize a transaction on behalf of the namespace; in case of a decentralized namespace, additional signatures may be required. Only returns keys that are permitted to sign the provided mapping type.- Definition Classes
- DecentralizedNamespaceAuthorizationGraph → AuthorizationCheck
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val ownerGraphs: Seq[AuthorizationGraph]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])