public interface Identity
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
byte[] |
getPublicBytes()
Get the public identifier in bytes.
|
DarcProto.Identity |
toProto()
Creates a protobuf-representation of the implementation.
|
String |
toString() |
String |
typeString() |
boolean |
verify(byte[] msg,
byte[] signature)
Returns true if the verification of signature on the sha-256 of msg is
successful or false if not.
|
boolean verify(byte[] msg,
byte[] signature)
msg - the messagesignature - the signatureDarcProto.Identity toProto()
String typeString()
byte[] getPublicBytes()
Copyright © 2019. All rights reserved.