| Modifier and Type | Method and Description |
|---|---|
Block |
ByzCoinRPC.getBlock(SkipblockId id)
Fetches a given block from the skipchain and returns the corresponding Block.
|
Sha256id |
Block.getClientTransactionHash() |
DarcId |
Proof.getDarcID() |
Sha256id |
Block.getStateChangesHash() |
Sha256id |
Block.getTrieRoot() |
static Darc |
ByzCoinRPC.makeGenesisDarc(Signer admin,
Roster roster)
Creates a genesis darc to use for the initialisation of Byzcoin.
|
| Constructor and Description |
|---|
Block(Proof p)
Constructor for the OmniBlock held in the given Proof.
|
Block(SkipBlock sb)
Instantiates a new OmniBlock given a skipblock.
|
DataBody(ByzCoinProto.DataBody proto)
Constructor for DataBody from protobuf.
|
| Modifier and Type | Method and Description |
|---|---|
Instruction |
ChainConfigInstance.evolveChainConfigInstruction(ChainConfigData newConfig,
List<Signer> owners,
int pos,
int len)
Creates an instruction to evolve the value in byzcoin.
|
Instruction |
DarcInstance.evolveDarcInstruction(Darc newDarc,
Signer owner,
int pos,
int len)
Creates an instruction to evolve the darc in byzcoin.
|
Instruction |
ValueInstance.evolveValueInstruction(byte[] newValue,
Signer owner,
int pos,
int len)
Creates an instruction to evolve the value in byzcoin.
|
Darc |
DarcInstance.getDarc() |
DarcId |
DarcInstance.getId() |
Instruction |
DarcInstance.spawnInstanceInstruction(String contractID,
Signer s,
List<Argument> args,
int pos,
int len)
Creates an instruction for spawning an instance.
|
| Modifier and Type | Method and Description |
|---|---|
InstanceId |
Instruction.deriveId(String what)
This function derives a contract ID from the instruction with the given string.
|
void |
Instruction.signBy(DarcId darcId,
List<Signer> signers)
Have a list of signers sign the instruction.
|
| Constructor and Description |
|---|
ClientTransaction(ByzCoinProto.ClientTransaction proto) |
ClientTransactionId(byte[] id) |
Instruction(ByzCoinProto.Instruction inst) |
TxResult(ByzCoinProto.TxResult proto)
constructor for TxResult
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
Encryption.decryptData(byte[] dataEnc,
byte[] keyMaterial)
This method decrypts the data using the same encryption-method
as is defined in the header of this class.
|
static byte[] |
Encryption.decryptData(com.google.protobuf.ByteString dataEnc,
byte[] keyMaterial)
Convenience method for use with googles-protobuf bytestring.
|
static byte[] |
Encryption.encryptData(byte[] data,
byte[] keyMaterial)
Encrypts the data using the encryption defined in the header.
|
static Document |
Document.fromWriteInstance(WriteInstance wi,
byte[] keyMaterial)
Recreate the document once all the material already is fetched from ByzCoin.
|
byte[] |
Document.getData() |
byte[] |
DecryptKeyReply.getKeyMaterial(Scalar reader)
Recover the key material by decrypting each slice and merging all the slices.
|
| Constructor and Description |
|---|
Document(byte[] data,
byte[] keyMaterial,
byte[] extraData,
DarcId publisherId)
Initialises a document.
|
Document(byte[] data,
int keylen,
byte[] extraData,
DarcId publisherId)
Creates a new document from data, creates a new Darc, a symmetric
symmetricKey and encrypts the data using CBC-RSA.
|
keyIv(byte[] keyMaterial) |
LTSId(byte[] id) |
LTSId(com.google.protobuf.ByteString bs) |
| Modifier and Type | Method and Description |
|---|---|
SkipblockId |
SkipBlock.getSkipchainId() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
Ed25519Point.data() |
byte[] |
Point.data() |
static Point |
Ed25519Point.embed(byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
void |
Darc.addIdentity(String action,
Identity id,
String link) |
Darc |
Darc.copyEvolve() |
DarcId |
Darc.getBaseId()
Gets the base-ID of the darc, i.e.
|
Identity |
Darc.getIdentity() |
void |
Darc.setPrevId(Darc d) |
| Constructor and Description |
|---|
Darc(byte[] buf)
Convenience constructure
|
Darc(DarcProto.Darc proto)
Convenience constructor
|
Signature(DarcProto.Signature sig) |
| Modifier and Type | Method and Description |
|---|---|
SkipblockId |
ForwardLink.getFrom() |
SkipblockId |
ForwardLink.getTo() |
Copyright © 2018. All rights reserved.