| Modifier and Type | Field and Description |
|---|---|
static int |
length |
| Constructor and Description |
|---|
Sha256id(byte[] id) |
Sha256id(com.google.protobuf.ByteString bs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
byte[] |
getId()
Return binary form of block getId used by skipchain
|
int |
hashCode() |
com.google.protobuf.ByteString |
toProto() |
String |
toString() |
public static final int length
public Sha256id(com.google.protobuf.ByteString bs)
throws CothorityCryptoException
CothorityCryptoExceptionpublic Sha256id(byte[] id)
throws CothorityCryptoException
CothorityCryptoExceptionpublic byte[] getId()
HashIdpublic com.google.protobuf.ByteString toProto()
Copyright © 2018. All rights reserved.