public class SignMessage extends Message
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
rgbProtected |
protected List<Signer> |
signerList |
emitContent, emitTag, messageTag, rgbContentDontSendAttributes, externalData, objDontSend, objProtected, objUnprotected, ProtectedAttributes, UnprotectedAttributes| Constructor and Description |
|---|
SignMessage() |
| Modifier and Type | Method and Description |
|---|---|
void |
AddSigner(Signer signedBy) |
protected void |
DecodeFromCBORObject(com.upokecenter.cbor.CBORObject obj) |
protected com.upokecenter.cbor.CBORObject |
EncodeCBORObject() |
Signer |
getSigner(int iSigner) |
int |
getSignerCount() |
List<Signer> |
getSignerList() |
void |
sign() |
boolean |
validate(Signer signerToUse) |
DecodeFromBytes, DecodeFromBytes, EncodeToBytes, EncodeToCBORObject, GetContent, SetContent, SetContentaddAttribute, addAttribute, addAttribute, AddProtected, AddProtected, AddProtected, AddUnprotected, AddUnprotected, AddUnprotected, findAttribute, findAttribute, setExternalprotected void DecodeFromCBORObject(com.upokecenter.cbor.CBORObject obj)
throws CoseException
DecodeFromCBORObject in class MessageCoseExceptionprotected com.upokecenter.cbor.CBORObject EncodeCBORObject()
throws CoseException
EncodeCBORObject in class MessageCoseExceptionpublic void AddSigner(Signer signedBy)
public Signer getSigner(int iSigner)
public int getSignerCount()
public void sign()
throws CoseException
CoseExceptionpublic boolean validate(Signer signerToUse) throws CoseException
CoseExceptionCOSE for Java documentation, generatedin 2016.