object SignatureDelegation extends Serializable
- Alphabetic
- By Inheritance
- SignatureDelegation
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def create(sessionKey: SigningPublicKey, validityPeriod: SignatureDelegationValidityPeriod, signature: Signature): Either[String, SignatureDelegation]
Constructs a SignatureDelegation using a session key, validity period, and signature.
Constructs a SignatureDelegation using a session key, validity period, and signature. These components are constructed in com.digitalasset.canton.crypto.signer.SyncCryptoSignerWithSessionKeys via the sign primitive.
In summary, a new or existing session key (generated in software) is used to sign the original message contents. This key has a validity period, whose duration is configurable in Canton. The provided signature is generated with a long-term key and covers the session key fingerprint, the validity period, and the synchronizer ID, authorizing the session key to act on behalf of the long-term key during that period.
- sessionKey
The session key used to produce the signature.
- validityPeriod
The duration for which the session key is valid.
- signature
Signature authorizing the session key to act for a long-term key, over the hash of the session key fingerprint, validity period, and synchronizer ID.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromProtoV30(signatureP: v30.SignatureDelegation, longTermKeyId: Fingerprint): ParsingResult[SignatureDelegation]
- def generateHash(synchronizerId: SynchronizerId, sessionKey: SigningPublicKey, validityPeriod: SignatureDelegationValidityPeriod): Hash
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])