Packages

object SigningPrivateKey extends HasVersionedMessageCompanion[SigningPrivateKey] with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SigningPrivateKey
  2. Serializable
  3. HasVersionedMessageCompanion
  4. HasVersionedMessageCompanionCommon
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Deserializer = (ByteString) => ParsingResult[SigningPrivateKey]
  2. type Serializer = (SigningPrivateKey) => ByteString
  3. case class ProtoCodec(fromInclusive: ProtocolVersion, deserializer: Deserializer, serializer: (ValueClass) => GeneratedMessage) extends Product with Serializable
  4. case class SupportedProtoVersions extends Product with Serializable

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def fromProtoV30(privateKeyP: v30.SigningPrivateKey): ParsingResult[SigningPrivateKey]
    Annotations
    @nowarn()
  9. def fromProtoVersioned(proto: VersionedMessage[SigningPrivateKey]): ParsingResult[SigningPrivateKey]
  10. def fromTrustedByteArray(bytes: Array[Byte]): ParsingResult[SigningPrivateKey]
  11. def fromTrustedByteString(bytes: ByteString): ParsingResult[SigningPrivateKey]

    The embedded version is not validated

    The embedded version is not validated

    Definition Classes
    HasVersionedMessageCompanion
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. implicit def hasVersionedWrapperGetResult(implicit getResultByteArray: GetResult[Array[Byte]]): GetResult[SigningPrivateKey]
  14. implicit def hasVersionedWrapperGetResultO(implicit getResultByteArrayO: GetResult[Option[Array[Byte]]]): GetResult[Option[SigningPrivateKey]]
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. 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

    Definition Classes
    SigningPrivateKeyHasVersionedMessageCompanionCommon
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  21. def parseDelimitedFromTrusted(input: InputStream): Option[ParsingResult[SigningPrivateKey]]

    Deserializes a message using a delimiter (the message length) from the given input stream.

    Deserializes a message using a delimiter (the message length) from the given input stream.

    Unsafe! No deserialization validation is performed.

    Do NOT use this method unless you can justify that the given bytes originate from a trusted source.

    This method works in conjunction with com.digitalasset.canton.version.HasVersionedWrapper.writeDelimitedTo which should have been used to serialize the message. It is useful for deserializing multiple messages from a single input stream through repeated invocations.

    input

    the source from which a message is deserialized

    returns

    an Option that is None when there are no messages left anymore, otherwise it wraps an Either where left represents a deserialization error (exception) and right represents the successfully deserialized message

    Definition Classes
    HasVersionedMessageCompanion
  22. def readFromTrustedFile(inputFile: String): Either[String, SigningPrivateKey]
  23. def supportedProtoVersion[Proto <: GeneratedMessage](p: GeneratedMessageCompanion[Proto])(fromProto: (Proto) => ParsingResult[SigningPrivateKey]): (ByteString) => ParsingResult[SigningPrivateKey]
    Attributes
    protected
    Definition Classes
    HasVersionedMessageCompanion
  24. val supportedProtoVersions: SupportedProtoVersions

    Proto versions that are supported by fromProtoVersioned, fromByteString, toProtoVersioned and toByteString.

    Proto versions that are supported by fromProtoVersioned, fromByteString, toProtoVersioned and toByteString. See the helpers supportedProtoVersion and supportedProtoVersionMemoized below to define a ProtoCodec.

    Definition Classes
    SigningPrivateKeyHasVersionedMessageCompanionCommon
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. def tryReadFromTrustedFile(inputFile: String): SigningPrivateKey
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. object SupportedProtoVersions extends 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