public class WitnessArgs
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WitnessArgs.Type |
| Modifier and Type | Field and Description |
|---|---|
static int |
SECP256K1_BLAKE160_WITNESS_BYTES_SIZE |
| Constructor and Description |
|---|
WitnessArgs() |
WitnessArgs(byte[] lock) |
WitnessArgs(int lockLength) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
byte[] |
getInputType() |
byte[] |
getLock() |
byte[] |
getOutputType() |
int |
hashCode() |
org.nervos.ckb.type.concrete.WitnessArgs |
pack() |
void |
setInputType(byte[] inputType) |
void |
setLock(byte[] lock) |
void |
setOutputType(byte[] outputType) |
static WitnessArgs |
unpack(byte[] in) |
public static int SECP256K1_BLAKE160_WITNESS_BYTES_SIZE
public WitnessArgs()
public WitnessArgs(int lockLength)
public WitnessArgs(byte[] lock)
public byte[] getLock()
public void setLock(byte[] lock)
public byte[] getInputType()
public void setInputType(byte[] inputType)
public byte[] getOutputType()
public void setOutputType(byte[] outputType)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic org.nervos.ckb.type.concrete.WitnessArgs pack()
public static WitnessArgs unpack(byte[] in)