public class CounterSign1 extends Signer
contextString, rgbSignatureDO_NOT_SEND, DontSendAttributes, externalData, objDontSend, objProtected, objUnprotected, PROTECTED, ProtectedAttributes, rgbProtected, UNPROTECTED, UnprotectedAttributes| Constructor and Description |
|---|
CounterSign1() |
CounterSign1(byte[] rgb) |
CounterSign1(OneKey key) |
| Modifier and Type | Method and Description |
|---|---|
void |
DecodeFromCBORObject(com.upokecenter.cbor.CBORObject cbor)
Internal function used in creating a Sign1Message object from a byte string.
|
com.upokecenter.cbor.CBORObject |
EncodeToCBORObject()
Internal function used to create a serialization of a COSE_Sign1 message
|
void |
setObject(Message msg) |
void |
setObject(Signer signer) |
addCountersignature, clearKey, getCountersign1, getCountersignerList, ProcessCounterSignatures, setCountersign1, setKey, sign, validate, validate, validateaddAttribute, addAttribute, addAttribute, AddProtected, AddProtected, AddProtected, AddUnprotected, AddUnprotected, AddUnprotected, findAttribute, findAttribute, findAttribute, findAttribute, getDoNotSendAttributes, getExternal, getProtectedAttributes, getUnprotectedAttributes, removeAttribute, removeAttribute, setExternalpublic CounterSign1()
public CounterSign1(byte[] rgb)
public CounterSign1(OneKey key)
public void setObject(Message msg)
public void setObject(Signer signer)
public void DecodeFromCBORObject(com.upokecenter.cbor.CBORObject cbor)
throws CoseException
SignerDecodeFromCBORObject in class Signercbor - COSE_Sign1 encoded object.CoseException - Errors generated by the COSE modulepublic com.upokecenter.cbor.CBORObject EncodeToCBORObject()
throws CoseException
SignerEncodeToCBORObject in class SignerCoseException - Errors generated by the COSE moduleCOSE for Java documentation, generatedin 2019.