public class Sign1Message extends SignCommon
contextStringemitContent, emitTag, messageTag, rgbContentDontSendAttributes, externalData, objDontSend, objProtected, objUnprotected, ProtectedAttributes, rgbProtected, UnprotectedAttributes| Constructor and Description |
|---|
Sign1Message() |
Sign1Message(boolean emitTag) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DecodeFromCBORObject(com.upokecenter.cbor.CBORObject messageObject) |
protected com.upokecenter.cbor.CBORObject |
EncodeCBORObject() |
void |
sign(com.upokecenter.cbor.CBORObject cnKey) |
void |
sign(org.bouncycastle.crypto.CipherParameters key) |
boolean |
validate(com.upokecenter.cbor.CBORObject cnKey) |
boolean |
validate(org.bouncycastle.crypto.CipherParameters key) |
DecodeFromBytes, DecodeFromBytes, EncodeToBytes, EncodeToCBORObject, GetContent, SetContent, SetContentaddAttribute, addAttribute, addAttribute, AddProtected, AddProtected, AddProtected, AddUnprotected, AddUnprotected, AddUnprotected, findAttribute, findAttribute, setExternalpublic Sign1Message()
public Sign1Message(boolean emitTag)
public void sign(com.upokecenter.cbor.CBORObject cnKey)
throws CoseException
CoseExceptionpublic void sign(org.bouncycastle.crypto.CipherParameters key)
throws CoseException
CoseExceptionpublic boolean validate(com.upokecenter.cbor.CBORObject cnKey)
throws CoseException
CoseExceptionpublic boolean validate(org.bouncycastle.crypto.CipherParameters key)
throws CoseException
CoseExceptionprotected void DecodeFromCBORObject(com.upokecenter.cbor.CBORObject messageObject)
throws CoseException
DecodeFromCBORObject in class MessageCoseExceptionprotected com.upokecenter.cbor.CBORObject EncodeCBORObject()
throws CoseException
EncodeCBORObject in class MessageCoseExceptionCOSE for Java documentation, generatedin 2016.