public class Command<T extends CommandData>
Command data/content plus pubkey pair: the signature is stored at the end of the serialized bytes
Constructor and Description |
---|
Command(T value,
java.util.List<? extends java.security.PublicKey> signers)
Command data/content plus pubkey pair: the signature is stored at the end of the serialized bytes
|
Command(T data,
java.security.PublicKey key) |
Modifier and Type | Method and Description |
---|---|
T |
component1() |
java.util.List<java.security.PublicKey> |
component2() |
Command<T> |
copy(T value,
java.util.List<? extends java.security.PublicKey> signers)
Command data/content plus pubkey pair: the signature is stored at the end of the serialized bytes
|
boolean |
equals(java.lang.Object p) |
java.util.List<java.security.PublicKey> |
getSigners() |
T |
getValue() |
int |
hashCode() |
java.lang.String |
toString() |
public Command(T value, java.util.List<? extends java.security.PublicKey> signers)
Command data/content plus pubkey pair: the signature is stored at the end of the serialized bytes
public Command(T data, java.security.PublicKey key)
public java.lang.String toString()
public T getValue()
public java.util.List<java.security.PublicKey> getSigners()
public T component1()
public java.util.List<java.security.PublicKey> component2()
public Command<T> copy(T value, java.util.List<? extends java.security.PublicKey> signers)
Command data/content plus pubkey pair: the signature is stored at the end of the serialized bytes
public int hashCode()
public boolean equals(java.lang.Object p)