| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
MacCommon.AES_CBC_MAC(AlgorithmID alg,
byte[] rgbKey) |
void |
MACMessage.Create() |
void |
MAC0Message.Create(byte[] rgbKey) |
protected void |
MacCommon.CreateWithKey(byte[] rgbKey) |
static Message |
Message.DecodeFromBytes(byte[] rgbData)
Decode a COSE message object.
|
void |
CounterSign.DecodeFromBytes(byte[] rgb) |
static Message |
Message.DecodeFromBytes(byte[] rgbData,
MessageTag defaultTag)
Decode a COSE message object.
|
protected void |
SignMessage.DecodeFromCBORObject(com.upokecenter.cbor.CBORObject obj) |
protected void |
Signer.DecodeFromCBORObject(com.upokecenter.cbor.CBORObject obj) |
protected void |
Sign1Message.DecodeFromCBORObject(com.upokecenter.cbor.CBORObject messageObject) |
void |
Recipient.DecodeFromCBORObject(com.upokecenter.cbor.CBORObject objRecipient) |
protected abstract void |
Message.DecodeFromCBORObject(com.upokecenter.cbor.CBORObject messageObject) |
void |
MACMessage.DecodeFromCBORObject(com.upokecenter.cbor.CBORObject obj) |
void |
MAC0Message.DecodeFromCBORObject(com.upokecenter.cbor.CBORObject obj) |
void |
EncryptMessage.DecodeFromCBORObject(com.upokecenter.cbor.CBORObject obj) |
void |
Encrypt0Message.DecodeFromCBORObject(com.upokecenter.cbor.CBORObject obj) |
byte[] |
Recipient.decrypt(AlgorithmID algCEK,
Recipient recip) |
byte[] |
Encrypt0Message.decrypt(byte[] rgbKey)
Decrypt the message using the passed in key.
|
byte[] |
EncryptMessage.decrypt(Recipient whom) |
protected byte[] |
EncryptCommon.decryptWithKey(byte[] rgbKey) |
protected com.upokecenter.cbor.CBORObject |
SignMessage.EncodeCBORObject() |
protected com.upokecenter.cbor.CBORObject |
Sign1Message.EncodeCBORObject() |
protected com.upokecenter.cbor.CBORObject |
Recipient.EncodeCBORObject() |
protected abstract com.upokecenter.cbor.CBORObject |
Message.EncodeCBORObject() |
protected com.upokecenter.cbor.CBORObject |
MACMessage.EncodeCBORObject() |
protected com.upokecenter.cbor.CBORObject |
MAC0Message.EncodeCBORObject() |
protected com.upokecenter.cbor.CBORObject |
EncryptMessage.EncodeCBORObject() |
protected com.upokecenter.cbor.CBORObject |
Encrypt0Message.EncodeCBORObject()
Internal function used to construct the CBORObject
|
byte[] |
Message.EncodeToBytes() |
com.upokecenter.cbor.CBORObject |
Message.EncodeToCBORObject() |
void |
Recipient.encrypt() |
void |
EncryptMessage.encrypt() |
void |
Encrypt0Message.encrypt(byte[] rgbKey)
Encrypt the message using the passed in key.
|
static AlgorithmID |
AlgorithmID.FromCBOR(com.upokecenter.cbor.CBORObject obj) |
static MessageTag |
MessageTag.FromInt(int i) |
byte[] |
EncryptCommon.getEncryptedContent()
Used to obtain the encrypted content for the cases where detached content
is requested.
|
byte[] |
Recipient.getKey(AlgorithmID algCEK) |
int |
Recipient.getRecipientType() |
void |
SignMessage.sign() |
void |
Signer.sign(byte[] rgbBodyProtected,
byte[] rgbContent) |
void |
Sign1Message.sign(com.upokecenter.cbor.CBORObject cnKey) |
void |
Sign1Message.sign(org.bouncycastle.crypto.CipherParameters key) |
void |
CounterSign.Sign(Message message) |
protected boolean |
MacCommon.Validate(byte[] rgbKey) |
boolean |
MAC0Message.Validate(byte[] rgbKey) |
boolean |
Signer.validate(byte[] rgbBodyProtected,
byte[] rgbContent) |
boolean |
Sign1Message.validate(com.upokecenter.cbor.CBORObject cnKey) |
boolean |
Sign1Message.validate(org.bouncycastle.crypto.CipherParameters key) |
boolean |
CounterSign.Validate(Message message) |
boolean |
MACMessage.Validate(Recipient recipientToUse) |
boolean |
SignMessage.validate(Signer signerToUse) |
| Constructor and Description |
|---|
CounterSign(byte[] rgb) |
COSE for Java documentation, generatedin 2016.