c

com.digitalasset.canton.console.commands

GlobalSecretKeyAdministration

class GlobalSecretKeyAdministration extends Helpful with FeatureFlagFilter

Global keys operations (e.g., for external parties in tests)

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GlobalSecretKeyAdministration
  2. FeatureFlagFilter
  3. NamedLogging
  4. Helpful
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new GlobalSecretKeyAdministration(consoleEnvironment: ConsoleEnvironment, loggerFactory: NamedLoggerFactory)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cantonConfig: CantonConfig
    Attributes
    protected
    Definition Classes
    FeatureFlagFilter
  6. def check[T](flag: FeatureFlag)(command: => T): T
    Attributes
    protected
    Definition Classes
    FeatureFlagFilter
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. val consoleEnvironment: ConsoleEnvironment
    Attributes
    protected
    Definition Classes
    GlobalSecretKeyAdministrationFeatureFlagFilter
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def help(methodName: String)(implicit consoleEnvironment: ConsoleEnvironment): Unit
    Definition Classes
    Helpful
    Annotations
    @Summary(s = "Help for specific commands (use help() or help(\"method\") for more information)", flag = console.this.Help.Summary.<init>$default$2) @Topic(t = Seq("Top-level Commands"))
  15. def help()(implicit consoleEnvironment: ConsoleEnvironment): Unit
    Definition Classes
    Helpful
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  18. val loggerFactory: NamedLoggerFactory
    Attributes
    protected
    Definition Classes
    GlobalSecretKeyAdministrationNamedLogging
  19. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def sign[Op <: TopologyChangeOp, M <: TopologyMapping](tx: TopologyTransaction[Op, M], party: ExternalParty, protocolVersion: ProtocolVersion): SignedTopologyTransaction[Op, M]
    Annotations
    @Summary(s = "Sign the given topology transaction on behalf of the external party", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """Sign the given topology transaction on behalf of the external party
    |
    |The arguments are:
    | - tx: Transaction to be signed
    | - party: Party who should sign
    | - protocolVersion: Protocol version of the synchronizer
    |
    |Fails if the corresponding keys are not in the global crypto.
    |"""
    )
  25. def sign(hash: ByteString, key: Fingerprint, usage: NonEmpty[Set[SigningKeyUsage]]): Signature
    Annotations
    @Summary(s = "Sign the given hash on behalf of the external party", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """Sign the given hash on behalf of the external party
    |
    |The arguments are:
    | - hash: Hash to be signed
    | - key: Fingerprint of the key that should sign
    | - Usage: Usage of the key (e.g., Protocol or Namespace)
    |
    |Fails if the corresponding keys are not in the global crypto.
    |"""
    )
  26. def sign(hash: ByteString, party: ExternalParty, useAllKeys: Boolean = false): Seq[Signature]
    Annotations
    @Summary(s = "Sign the given hash on behalf of the external party", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """Sign the given hash on behalf of the external party with signingThreshold keys.
    |
    |The arguments are:
    | - hash: Hash to be signed
    | - party: Party who should sign
    | - useAllKeys: If true, all signing keys will be used to sign instead of just signingThreshold many
    |
    |Fails if the corresponding keys are not in the global crypto.
    |"""
    )
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. object keys

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from FeatureFlagFilter

Inherited from NamedLogging

Inherited from Helpful

Inherited from AnyRef

Inherited from Any

Ungrouped