Attestation

org.plasmalabs.sdk.models.box.Attestation
See theAttestation companion class
object Attestation extends GeneratedMessageCompanion[Attestation]

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Attestation]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

implicit class AttestationLens[UpperPB](_l: Lens[UpperPB, Attestation]) extends ObjectLens[UpperPB, Attestation]

Attributes

Supertypes
class ObjectLens[UpperPB, Attestation]
trait Lens[UpperPB, Attestation]
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class Commitment(lock: Commitment, known: Seq[Challenge], witness: Seq[Witness], responses: Seq[Proof], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[Commitment]

Value parameters

known

list of claim propositions that must be proven as memebrs of the root commitment and be suitably satisfied by the given proofs

responses

list of optional values

witness

list of witnesses for proving membership of claimed propositions

Attributes

Companion
object
Supertypes
trait Updatable[Commitment]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Commitment extends GeneratedMessageCompanion[Commitment]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Commitment]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Commitment.type
final case class Image(lock: Image, known: Seq[Challenge], responses: Seq[Proof], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[Image]

Value parameters

known

list of optional values

responses

list of optional values

Attributes

Companion
object
Supertypes
trait Updatable[Image]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Image extends GeneratedMessageCompanion[Image]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Image]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Image.type
final case class Predicate(lock: Predicate, responses: Seq[Proof], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[Predicate]

Value parameters

responses

list of optional values (proofs used to attempt to satisfy the challenges contained in the predicate lock)

Attributes

Companion
object
Supertypes
trait Updatable[Predicate]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Predicate extends GeneratedMessageCompanion[Predicate]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Predicate]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Predicate.type
object Value

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Value.type
sealed trait Value extends GeneratedOneof

Attributes

Companion
object
Supertypes
trait GeneratedOneof
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class Commitment
object Empty
class Image
class Predicate

Inherited types

Attributes

Inherited from:
GeneratedMessageCompanion

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def enumCompanionForFieldNumber(`__fieldNumber`: Int): GeneratedEnumCompanion[_]
def javaDescriptor: Descriptor

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Attributes

def messageCompanionForFieldNumber(`__number`: Int): GeneratedMessageCompanion[_]
def of(value: Value): Attestation
def parseFrom(`_input__`: CodedInputStream): Attestation

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Attributes

def scalaDescriptor: Descriptor

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
def fromAscii(s: String): Attestation

Attributes

Inherited from:
GeneratedMessageCompanion
def merge(a: Attestation, input: CodedInputStream): Attestation

Merges the given message with the additional fields in the steam.

Merges the given message with the additional fields in the steam.

Attributes

Inherited from:
GeneratedMessageCompanion
def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: InputStream): Option[Attestation]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: CodedInputStream): Option[Attestation]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseFrom(s: Array[Byte]): Attestation

Attributes

Inherited from:
GeneratedMessageCompanion
def parseFrom(input: InputStream): Attestation

Attributes

Inherited from:
GeneratedMessageCompanion
def streamFromDelimitedInput(input: InputStream): Stream[Attestation]

Attributes

Inherited from:
GeneratedMessageCompanion
def toByteArray(a: Attestation): Array[Byte]

Attributes

Inherited from:
GeneratedMessageCompanion
def validate(s: Array[Byte]): Try[Attestation]

Attributes

Inherited from:
GeneratedMessageCompanion
def validateAscii(s: String): Either[TextFormatError, Attestation]

Attributes

Inherited from:
GeneratedMessageCompanion

Concrete fields

final val IMAGE_FIELD_NUMBER: 2
final val PREDICATE_FIELD_NUMBER: 1
lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]

Implicits

Implicits

final implicit def AttestationLens[UpperPB](_l: Lens[UpperPB, Attestation]): AttestationLens[UpperPB]
implicit def messageCompanion: GeneratedMessageCompanion[Attestation]
implicit def messageReads: Reads[Attestation]
implicit def validator: Validator[Attestation]