Class Approval
- java.lang.Object
-
- com.syntifi.casper.sdk.model.deploy.Approval
-
- All Implemented Interfaces:
EncodableValue
public class Approval extends java.lang.Object implements EncodableValue
A struct containing a signature and the public key of the signer- Since:
- 0.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApproval.ApprovalBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Approval.ApprovalBuilderbuilder()voidencode(CLValueEncoder clve, boolean encodeType)Implements Approval encoderSignaturegetSignature()PublicKeygetSigner()voidsetSignature(Signature signature)voidsetSigner(PublicKey signer)
-
-
-
Method Detail
-
encode
public void encode(CLValueEncoder clve, boolean encodeType) throws java.io.IOException, CLValueEncodeException, DynamicInstanceException, NoSuchTypeException
Implements Approval encoder- Specified by:
encodein interfaceEncodableValue- Parameters:
clve- the encoder to be usedencodeType- append encoded type?- Throws:
java.io.IOException- thrown if an IO error occursCLValueEncodeException- thrown if failed to encode a cl valueDynamicInstanceException- thrown if it could not instantiate a typeNoSuchTypeException- thrown if type not found
-
builder
public static Approval.ApprovalBuilder builder()
-
-