Packages

object SigningKeyUsage extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SigningKeyUsage
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. val All: NonEmpty[Set[SigningKeyUsage]]
  5. val NamespaceOnly: NonEmpty[Set[SigningKeyUsage]]
  6. val NamespaceOrProofOfOwnership: NonEmpty[Set[SigningKeyUsage]]
  7. val ProofOfOwnershipOnly: NonEmpty[Set[SigningKeyUsage]]
  8. val ProtocolOnly: NonEmpty[Set[SigningKeyUsage]]
  9. val ProtocolWithProofOfOwnership: NonEmpty[Set[SigningKeyUsage]]
  10. val SequencerAuthenticationOnly: NonEmpty[Set[SigningKeyUsage]]
  11. def addProofOfOwnership(usage: NonEmpty[Set[SigningKeyUsage]]): NonEmpty[Set[SigningKeyUsage]]

    Adds the ProofOfOwnershipOnly usage to the list of usages, unless it forms an invalid combination.

  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  14. def compatibleUsageForSignAndVerify(keyUsage: NonEmpty[Set[SigningKeyUsage]], allowedUsages: NonEmpty[Set[SigningKeyUsage]]): Boolean

    Ensures that the intersection of a key's usages and the allowed usages is not empty, guaranteeing that at least one usage is shared.

    Ensures that the intersection of a key's usages and the allowed usages is not empty, guaranteeing that at least one usage is shared.

    This function should only be used in the context of signing and verification, as it treats ProofOfOwnership like any other usage and attempts to match it.

    The only case where ProofOfOwnership can be part of the allowed usages is when signing or verifying topology mappings such as OwnerToKeyMappings or PartyToKeyMappings, where the keys must self-sign the request.

  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. def fromDbTypeToSigningKeyUsage(dbTypeInt: Int): Option[SigningKeyUsage]

    Ignores the identity_delegation usage (dbTypeInt == 1) by returning None.

    Ignores the identity_delegation usage (dbTypeInt == 1) by returning None. We can do this because, up until now, identity_delegation has never been the sole usage of a key.

  18. def fromProtoEnum(field: String, usageP: v30.SigningKeyUsage): ParsingResult[Option[SigningKeyUsage]]

    Ignores the identity_delegation usage by returning None.

    Ignores the identity_delegation usage by returning None. We can do this because, up until now, identity_delegation has never been the sole usage of a key.

    Annotations
    @nowarn()
  19. def fromProtoListWithDefault(usages: Seq[v30.SigningKeyUsage]): ParsingResult[NonEmpty[Set[SigningKeyUsage]]]

    When deserializing the usages for a signing key, if the usages are empty, we default to allowing all usages to maintain backward compatibility.

  20. def fromProtoListWithoutDefault(usages: Seq[v30.SigningKeyUsage]): ParsingResult[NonEmpty[Set[SigningKeyUsage]]]
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def isUsageValid(usage: NonEmpty[Set[SigningKeyUsage]]): Boolean
  25. def matchesRelevantUsages(keyUsage: NonEmpty[Set[SigningKeyUsage]], allowedUsages: NonEmpty[Set[SigningKeyUsage]]): Boolean

    Verifies that there is at least one common usage between a key's usages and the allowed usages, considering only relevant usages and excluding the internal ProofOfOwnership type.

    Verifies that there is at least one common usage between a key's usages and the allowed usages, considering only relevant usages and excluding the internal ProofOfOwnership type. ProofOfOwnership should only be considered when signing or verifying. This method must be used for all other scenarios, such as filtering or finding keys.

  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. case object Namespace extends SigningKeyUsage with Product with Serializable
  35. case object Protocol extends SigningKeyUsage with Product with Serializable
  36. case object SequencerAuthentication extends SigningKeyUsage with Product with Serializable

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 Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped