| Constructor and Description |
|---|
DarcId(byte[] id)
Constructs a darc ID from a byte array.
|
DarcId(com.google.protobuf.ByteString id)
Constructs a darc ID from ByteString.
|
| Modifier and Type | Method and Description |
|---|---|
static DarcId |
zero()
Creates a darc ID with all zeros.
|
public DarcId(byte[] id)
throws CothorityCryptoException
id - the darc IDCothorityCryptoExceptionpublic DarcId(com.google.protobuf.ByteString id)
throws CothorityCryptoException
id - the darc IDCothorityCryptoExceptionpublic static DarcId zero() throws CothorityCryptoException
CothorityCryptoExceptionCopyright © 2018. All rights reserved.