object SignedContent extends HasProtocolVersionedCompanion2[SignedContent[HasCryptographicEvidence], SignedContent[BytestringWithCryptographicEvidence]]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SignedContent
  2. HasProtocolVersionedCompanion2
  3. HasProtocolVersionedWrapperCompanion
  4. Serializable
  5. HasSupportedProtoVersions
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type DataByteString = ByteString
  2. type Deserializer = (DataByteString) => ParsingResult[SignedContent[BytestringWithCryptographicEvidence]]
  3. type OriginalByteString = ByteString
  4. type Serializer = (SignedContent[HasCryptographicEvidence]) => ByteString
    Definition Classes
    HasSupportedProtoVersions
  5. case class LegacyProtoConverter extends ProtoCodec with PrettyPrinting with Product with Serializable

    Used to (de)serialize classes which for legacy reasons where not wrapped in VersionedMessage Chances are this is NOT the class you want to use, use VersionedProtoConverter instead when adding serialization to a new class

    Used to (de)serialize classes which for legacy reasons where not wrapped in VersionedMessage Chances are this is NOT the class you want to use, use VersionedProtoConverter instead when adding serialization to a new class

    Attributes
    protected[this]
    Definition Classes
    HasSupportedProtoVersions
  6. sealed trait ProtoCodec extends AnyRef

    Base class for (de)serializating from/to protobuf of ValueClass from a specific PV

    Base class for (de)serializating from/to protobuf of ValueClass from a specific PV

    Definition Classes
    HasSupportedProtoVersions
  7. case class SupportedProtoVersions extends Product with Serializable
    Definition Classes
    HasSupportedProtoVersions
  8. case class UnsupportedProtoCodec(fromInclusive: RepresentativeProtocolVersion[HasSupportedProtoVersions.this.type]) extends ProtoCodec with PrettyPrinting with Product with Serializable
    Attributes
    protected[this]
    Definition Classes
    HasSupportedProtoVersions
  9. case class VersionedProtoConverter extends ProtoCodec with PrettyPrinting with Product with Serializable

    Supported Proto version

    Supported Proto version

    Attributes
    protected[this]
    Definition Classes
    HasSupportedProtoVersions

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. def apply[A <: HasCryptographicEvidence](content: A, signatures: NonEmpty[Seq[Signature]], timestampOfSigningKey: Option[CantonTimestamp], protoVersion: ProtoVersion): SignedContent[A]
  5. def apply[A <: HasCryptographicEvidence](content: A, signature: Signature, timestampOfSigningKey: Option[CantonTimestamp], protocolVersion: ProtocolVersion): SignedContent[A]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. def create[A <: HasCryptographicEvidence](cryptoApi: CryptoPureApi, cryptoPrivateApi: SyncCryptoApi, content: A, timestampOfSigningKey: Option[CantonTimestamp], purpose: HashPurpose, protocolVersion: ProtocolVersion)(implicit traceContext: TraceContext, ec: ExecutionContext): EitherT[Future, SyncCryptoError, SignedContent[A]]
  9. def create[A <: HasCryptographicEvidence](content: A, signatures: NonEmpty[Seq[Signature]], timestampOfSigningKey: Option[CantonTimestamp], representativeProtocolVersion: RepresentativeProtocolVersion[SignedContent.type]): Either[InvariantViolation, SignedContent[A]]
  10. def deserializationErrorK(error: ProtoDeserializationError): (DataByteString) => ParsingResult[SignedContent[BytestringWithCryptographicEvidence]]
    Attributes
    protected
    Definition Classes
    HasProtocolVersionedCompanion2HasSupportedProtoVersions
  11. def deserializeForVersion(rpv: RepresentativeProtocolVersion[SignedContent.this.type], deserializeLegacyProto: (Deserializer) => ParsingResult[SignedContent[BytestringWithCryptographicEvidence]], deserializeVersionedProto: => ParsingResult[SignedContent[BytestringWithCryptographicEvidence]]): ParsingResult[SignedContent[BytestringWithCryptographicEvidence]]
    Attributes
    protected
    Definition Classes
    HasProtocolVersionedWrapperCompanion
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def fromByteArray(bytes: Array[Byte]): ParsingResult[SignedContent[BytestringWithCryptographicEvidence]]
  15. def fromByteString(protocolVersion: ProtocolVersion)(bytes: OriginalByteString): ParsingResult[SignedContent[BytestringWithCryptographicEvidence]]

    Use this method when deserializing bytes for classes that have a legacy proto converter to explicitly set the version to use for the deserialization.

    Use this method when deserializing bytes for classes that have a legacy proto converter to explicitly set the version to use for the deserialization.

    protocolVersion

    protocol version of the bytes to be deserialized

    bytes

    data

    Definition Classes
    HasProtocolVersionedCompanion2
  16. def fromByteString(bytes: OriginalByteString): ParsingResult[SignedContent[BytestringWithCryptographicEvidence]]
  17. def fromProtoV0(signedValueP: protocol.v0.SignedContent): ParsingResult[SignedContent[BytestringWithCryptographicEvidence]]
  18. def fromProtoVersioned(proto: VersionedMessage[SignedContent[BytestringWithCryptographicEvidence]]): ParsingResult[SignedContent[BytestringWithCryptographicEvidence]]
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. implicit def hasVersionedWrapperGetResult(implicit getResultByteArray: GetResult[Array[Byte]]): GetResult[SignedContent[BytestringWithCryptographicEvidence]]
  21. implicit def hasVersionedWrapperGetResultO(implicit getResultByteArray: GetResult[Option[Array[Byte]]]): GetResult[Option[SignedContent[BytestringWithCryptographicEvidence]]]
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def hashContent(cryptoApi: CryptoPureApi, content: HasCryptographicEvidence, purpose: HashPurpose): Hash
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. val multipleSignaturesSupportedSince: RepresentativeProtocolVersion[SignedContent.type]
  26. def name: String

    The name of the class as used for pretty-printing and error reporting

    The name of the class as used for pretty-printing and error reporting

    Attributes
    protected
    Definition Classes
    SignedContentHasProtocolVersionedWrapperCompanionHasSupportedProtoVersions
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. def openEnvelopes(event: SignedContent[SequencedEvent[ClosedEnvelope]])(protocolVersion: ProtocolVersion, hashOps: HashOps): Either[EventWithErrors[SequencedEvent[DefaultOpenEnvelope]], SignedContent[SequencedEvent[DefaultOpenEnvelope]]]
  31. implicit def prettySignedContent[A <: HasCryptographicEvidence](implicit prettyA: Pretty[A]): Pretty[SignedContent[A]]
  32. def protoVersionFor(protocolVersion: ProtocolVersion): ProtoVersion

    Return the Proto version corresponding to the protocol version

    Return the Proto version corresponding to the protocol version

    Definition Classes
    HasSupportedProtoVersions
  33. def protoVersionFor(protocolVersion: RepresentativeProtocolVersion[SignedContent.this.type]): ProtoVersion

    Return the Proto version corresponding to the representative protocol version

    Return the Proto version corresponding to the representative protocol version

    Definition Classes
    HasSupportedProtoVersions
  34. def protocolVersionRepresentativeFor(protoVersion: ProtoVersion): RepresentativeProtocolVersion[SignedContent.this.type]
    Definition Classes
    HasSupportedProtoVersions
  35. def protocolVersionRepresentativeFor(protocolVersion: ProtocolVersion): RepresentativeProtocolVersion[SignedContent.this.type]
    Definition Classes
    HasSupportedProtoVersions
  36. def readFromFile(inputFile: String): Either[String, SignedContent[BytestringWithCryptographicEvidence]]
  37. def supportedProtoVersion[Proto <: GeneratedMessage](p: GeneratedMessageCompanion[Proto])(fromProto: (Proto) => ParsingResult[SignedContent[BytestringWithCryptographicEvidence]]): Deserializer
    Attributes
    protected
    Definition Classes
    HasProtocolVersionedCompanion2
  38. def supportedProtoVersions: SupportedProtoVersions

    Proto versions that are supported by fromProtoVersioned and fromByteString See the helper supportedProtoVersion below to define a Parser.

    Proto versions that are supported by fromProtoVersioned and fromByteString See the helper supportedProtoVersion below to define a Parser.

    Definition Classes
    SignedContentHasSupportedProtoVersions
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. def tryCreate[A <: HasCryptographicEvidence](cryptoApi: CryptoPureApi, cryptoPrivateApi: SyncCryptoApi, content: A, timestampOfSigningKey: Option[CantonTimestamp], purpose: HashPurpose, protocolVersion: ProtocolVersion)(implicit traceContext: TraceContext, ec: ExecutionContext): Future[SignedContent[A]]
  42. def tryCreate[A <: HasCryptographicEvidence](content: A, signatures: NonEmpty[Seq[Signature]], timestampOfSigningKey: Option[CantonTimestamp], representativeProtocolVersion: RepresentativeProtocolVersion[SignedContent.type]): SignedContent[A]
  43. def tryReadFromFile(inputFile: String): SignedContent[BytestringWithCryptographicEvidence]
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. object LegacyProtoConverter extends Serializable
    Definition Classes
    HasSupportedProtoVersions
  48. object SupportedProtoVersions extends Serializable
    Definition Classes
    HasSupportedProtoVersions
  49. object UnsupportedProtoCodec extends Serializable
    Definition Classes
    HasSupportedProtoVersions
  50. object VersionedProtoConverter extends Serializable
    Definition Classes
    HasSupportedProtoVersions

Deprecated Value Members

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

Ungrouped