Class VrfProof
- All Implemented Interfaces:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VrfProofdeserialize(ByteBuffer buffer) Deserializes an instance of this object from a byte payload.Reads a named field.getGamma()Gets the gamma field.Gets the scalar field.Gets the verificationHash field.protected voidserializeInto(Writer buffer) Writes this object's fields into the supplied buffer.voidSets a named field.voidsetGamma(ProofGamma value) Sets the gamma field.voidsetScalar(ProofScalar value) Sets the scalar field.voidSets the verificationHash field.intsize()Calculates the size of the object.toJson()Converts this object to a JSON-serializable representation.toString()Returns a string representation of this object.Returns the type-hint map driving the rule-based descriptor pipeline.Methods inherited from class org.symbol.sdk.CatbufferType
asByteArray, asBytes, asInt, asList, asLong, serialize, sort, toJsonString
-
Field Details
-
TYPE_HINTS
-
-
Constructor Details
-
VrfProof
public VrfProof()Creates a new VrfProof.
-
-
Method Details
-
typeHints
- VrfProof.typeHints
Returns the type-hint map driving the rule-based descriptor pipeline.
- Overrides:
typeHintsin classCatbufferType- Returns:
Field-name → rule-key map.
-
setField
- VrfProof.setField
Sets a named field. Used by the rule-based descriptor pipeline.
- Overrides:
setFieldin classCatbufferType- Parameters:
name- Field name (descriptor key).value- Value to assign.
-
getField
- VrfProof.getField
Reads a named field. Used by the facade-level entity inspection helpers.
- Overrides:
getFieldin classCatbufferType- Parameters:
name- Field name.- Returns:
Field value.
-
getGamma
- VrfProof.getGamma
Gets the gamma field.
- Returns:
The gamma field.
-
setGamma
- VrfProof.setGamma
Sets the gamma field.
- Parameters:
value- New gamma value.
-
getVerificationHash
- VrfProof.getVerificationHash
Gets the verificationHash field.
- Returns:
The verificationHash field.
-
setVerificationHash
- VrfProof.setVerificationHash
Sets the verificationHash field.
- Parameters:
value- New verificationHash value.
-
getScalar
- VrfProof.getScalar
Gets the scalar field.
- Returns:
The scalar field.
-
setScalar
- VrfProof.setScalar
Sets the scalar field.
- Parameters:
value- New scalar value.
-
size
public int size()- VrfProof.size
Calculates the size of the object.
- Returns:
Size of this object in bytes.
-
deserialize
- VrfProof.deserialize
Deserializes an instance of this object from a byte payload.
- Parameters:
buffer- Output writer.- Returns:
Deserialized object.
- Throws:
IndexOutOfBoundsException- if the buffer is truncated or a declared length overruns itIllegalArgumentException- if a field carries an invalid value (e.g. a reserved field or unknown discriminator)
-
serializeInto
- VrfProof.serializeInto
Writes this object's fields into the supplied buffer.
- Specified by:
serializeIntoin classCatbufferType- Parameters:
buffer- Output writer.
-
toString
- VrfProof.toString
Returns a string representation of this object.
-
toJson
- VrfProof.toJson
Converts this object to a JSON-serializable representation.
- Specified by:
toJsonin classCatbufferType- Returns:
JSON-serializable representation of this object.
-