Skip navigation links
A C D E F G H K M O R S V 

A

add(OneKey) - Method in class COSE.KeySet
 
add(KeyKeys, CBORObject) - Method in class COSE.OneKey
 
add(CBORObject, CBORObject) - Method in class COSE.OneKey
 
addRecipient(Recipient) - Method in class COSE.EncryptMessage
 
addRecipient(Recipient) - Method in class COSE.MACMessage
 
addRecipient(Recipient) - Method in class COSE.Recipient
 
AddSigner(Signer) - Method in class COSE.SignMessage
Add a new signer to the message.
AES_CBC_MAC(AlgorithmID, byte[]) - Method in class COSE.MacCommon
 
AlgorithmID - Enum in COSE
 
AsCBOR() - Method in enum COSE.AlgorithmID
 
AsCBOR() - Method in enum COSE.HeaderKeys
 
AsCBOR() - Method in enum COSE.KeyKeys
 

C

clearKey() - Method in class COSE.Signer
Remove the key object from the signer
context - Variable in class COSE.EncryptCommon
 
contextString - Variable in class COSE.SignCommon
 
contextString - Variable in class COSE.Signer
 
COSE - package COSE
 
CoseException - Exception in COSE
 
CoseException(String) - Constructor for exception COSE.CoseException
 
CounterSign - Class in COSE
 
CounterSign() - Constructor for class COSE.CounterSign
 
CounterSign(byte[]) - Constructor for class COSE.CounterSign
 
Create(byte[]) - Method in class COSE.MAC0Message
 
Create() - Method in class COSE.MACMessage
 
CreateWithKey(byte[]) - Method in class COSE.MacCommon
 

D

DecodeFromBytes(byte[]) - Method in class COSE.CounterSign
 
DecodeFromBytes(byte[]) - Static method in class COSE.Message
Decode a COSE message object.
DecodeFromBytes(byte[], MessageTag) - Static method in class COSE.Message
Decode a COSE message object.
DecodeFromCBORObject(CBORObject) - Method in class COSE.Encrypt0Message
 
DecodeFromCBORObject(CBORObject) - Method in class COSE.EncryptMessage
 
DecodeFromCBORObject(CBORObject) - Method in class COSE.MAC0Message
 
DecodeFromCBORObject(CBORObject) - Method in class COSE.MACMessage
 
DecodeFromCBORObject(CBORObject) - Method in class COSE.Message
Given a CBOR tree, parse the message.
DecodeFromCBORObject(CBORObject) - Method in class COSE.Recipient
 
DecodeFromCBORObject(CBORObject) - Method in class COSE.Sign1Message
Internal function used in creating a Sign1Message object from a byte string.
DecodeFromCBORObject(CBORObject) - Method in class COSE.Signer
Internal function used in creating a Sign1Message object from a byte string.
DecodeFromCBORObject(CBORObject) - Method in class COSE.SignMessage
Internal function used in creating a SignMessage object from a byte string.
decrypt(byte[]) - Method in class COSE.Encrypt0Message
Decrypt the message using the passed in key.
decrypt(Recipient) - Method in class COSE.EncryptMessage
 
decrypt(AlgorithmID, Recipient) - Method in class COSE.Recipient
 
decryptWithKey(byte[]) - Method in class COSE.EncryptCommon
 

E

EC2_P256 - Static variable in enum COSE.KeyKeys
 
EC2_P384 - Static variable in enum COSE.KeyKeys
 
EC2_P521 - Static variable in enum COSE.KeyKeys
 
emitContent - Variable in class COSE.Message
Is the content emitted as part of the message?
emitTag - Variable in class COSE.Message
Is the tag identifying the message emitted?
EncodeCBORObject() - Method in class COSE.Encrypt0Message
Internal function used to construct the CBORObject
EncodeCBORObject() - Method in class COSE.EncryptMessage
 
EncodeCBORObject() - Method in class COSE.MAC0Message
 
EncodeCBORObject() - Method in class COSE.MACMessage
 
EncodeCBORObject() - Method in class COSE.Message
Encode the COSE message object to a CBORObject tree.
EncodeCBORObject() - Method in class COSE.Recipient
 
EncodeCBORObject() - Method in class COSE.Sign1Message
Internal function used to create a serialization of a COSE_Sign1 message
EncodeCBORObject() - Method in class COSE.SignMessage
Internal function used to create a serialization of a COSE_Sign message
EncodeToBytes() - Method in class COSE.CounterSign
 
EncodeToBytes() - Method in class COSE.Message
Encode the message to a byte array.
EncodeToCBORObject() - Method in class COSE.Message
Encode the COSE message object to a CBORObject tree.
EncodeToCBORObject() - Method in class COSE.Signer
Internal function used to create a serialization of a COSE_Sign1 message
encrypt(byte[]) - Method in class COSE.Encrypt0Message
Encrypt the message using the passed in key.
encrypt() - Method in class COSE.EncryptMessage
 
encrypt() - Method in class COSE.Recipient
 
Encrypt0Message - Class in COSE
The Encrypt0Message object corresponds to the Encrypt COSE message structure.
Encrypt0Message() - Constructor for class COSE.Encrypt0Message
Create a Encrypt0Message object.
Encrypt0Message(boolean, boolean) - Constructor for class COSE.Encrypt0Message
Create a Encrypt0Message object.
EncryptCommon - Class in COSE
 
EncryptCommon() - Constructor for class COSE.EncryptCommon
 
EncryptMessage - Class in COSE
 
EncryptMessage() - Constructor for class COSE.EncryptMessage
 
EncryptMessage(boolean) - Constructor for class COSE.EncryptMessage
 

F

FromCBOR(CBORObject) - Static method in enum COSE.AlgorithmID
 
FromInt(int) - Static method in enum COSE.MessageTag
 

G

generateKey(AlgorithmID) - Static method in class COSE.OneKey
 
get(KeyKeys) - Method in class COSE.OneKey
 
get(CBORObject) - Method in class COSE.OneKey
 
GetContent() - Method in class COSE.Message
Return the content bytes of the message
GetCurve() - Method in class COSE.OneKey
 
getEncryptedContent() - Method in class COSE.EncryptCommon
Used to obtain the encrypted content for the cases where detached content is requested.
getKey(AlgorithmID) - Method in class COSE.Recipient
 
getKeySize() - Method in enum COSE.AlgorithmID
 
getList() - Method in class COSE.KeySet
 
getRecipient(int) - Method in class COSE.EncryptMessage
 
getRecipient(int) - Method in class COSE.MACMessage
 
getRecipient(int) - Method in class COSE.Recipient
 
getRecipientCount() - Method in class COSE.EncryptMessage
 
getRecipientCount() - Method in class COSE.MACMessage
 
getRecipientCount() - Method in class COSE.Recipient
 
getRecipientList() - Method in class COSE.EncryptMessage
 
getRecipientList() - Method in class COSE.MACMessage
 
getRecipientList() - Method in class COSE.Recipient
 
getRecipientType() - Method in class COSE.Recipient
 
getSigner(int) - Method in class COSE.SignMessage
Return the i-th signer of the message.
getSignerCount() - Method in class COSE.SignMessage
Return the number of signers on the message
getSignerList() - Method in class COSE.SignMessage
Return the list of signers on the message
getTagSize() - Method in enum COSE.AlgorithmID
 

H

HasContent() - Method in class COSE.Message
Does the message current have content?
HeaderKeys - Enum in COSE
 

K

KeyKeys - Enum in COSE
 
keyMap - Variable in class COSE.OneKey
 
KeySet - Class in COSE
 
KeySet() - Constructor for class COSE.KeySet
 
KeySet(CBORObject) - Constructor for class COSE.KeySet
 
KeyType_EC2 - Static variable in enum COSE.KeyKeys
 
KeyType_Octet - Static variable in enum COSE.KeyKeys
 

M

MAC0Message - Class in COSE
 
MAC0Message() - Constructor for class COSE.MAC0Message
 
MacCommon - Class in COSE
 
MacCommon() - Constructor for class COSE.MacCommon
 
MACMessage - Class in COSE
 
MACMessage() - Constructor for class COSE.MACMessage
 
Message - Class in COSE
The Message class provides a common class that all of the COSE message classes inherit from.
Message() - Constructor for class COSE.Message
 
messageTag - Variable in class COSE.Message
What message tag identifies this message?
MessageTag - Enum in COSE
 

O

OneKey - Class in COSE
 
OneKey() - Constructor for class COSE.OneKey
 
OneKey(CBORObject) - Constructor for class COSE.OneKey
 

R

random - Variable in class COSE.MacCommon
 
Recipient - Class in COSE
 
Recipient() - Constructor for class COSE.Recipient
 
recipientList - Variable in class COSE.EncryptMessage
 
recipientList - Variable in class COSE.MACMessage
 
remove(OneKey) - Method in class COSE.KeySet
 
rgbContent - Variable in class COSE.Message
What is the plain text content of the message.
rgbEncrypt - Variable in class COSE.EncryptCommon
 
rgbSignature - Variable in class COSE.Signer
 
rgbTag - Variable in class COSE.MacCommon
 

S

SetContent(byte[]) - Method in class COSE.Message
Set the content bytes of the message.
SetContent(String) - Method in class COSE.Message
Set the content bytes as a text string.
setEncryptedContent(byte[]) - Method in class COSE.EncryptCommon
Set the encrypted content for detached content cases.
SetKey(CBORObject) - Method in class COSE.Recipient
Deprecated.
In COSE 0.9.1, use SetKey(OneKey)
SetKey(OneKey) - Method in class COSE.Recipient
Set the key for encrypting/decrypting the recipient key.
setKey(CBORObject) - Method in class COSE.Signer
Deprecated.
As of COSE 0.9.1, use setKey(OneKey)
setKey(OneKey) - Method in class COSE.Signer
Set a key object on a signer
SetSenderKey(CBORObject) - Method in class COSE.Recipient
Deprecated.
SetSenderKey(OneKey) - Method in class COSE.Recipient
 
Sign(Message) - Method in class COSE.CounterSign
 
sign(OneKey) - Method in class COSE.Sign1Message
Create a signature for the message if one does not exist.
sign(CBORObject) - Method in class COSE.Sign1Message
Deprecated.
As of COSE 0.9.1, use sign(OneKey)
sign(CipherParameters) - Method in class COSE.Sign1Message
Create a signature for the message if one does not exist.
sign(byte[], byte[]) - Method in class COSE.Signer
 
sign() - Method in class COSE.SignMessage
Causes a signature to be created for every signer that does not already have one.
Sign1Message - Class in COSE
The Sign1Message class implements the COSE_Sign1 object.
Sign1Message() - Constructor for class COSE.Sign1Message
Create a signed message object for which there will be a leading tag and the content will be included.
Sign1Message(boolean) - Constructor for class COSE.Sign1Message
Create a signed message object.
Sign1Message(boolean, boolean) - Constructor for class COSE.Sign1Message
Create a signed message object for which the emission of the leading tag and content is controlled by the parameters.
SignCommon - Class in COSE
 
SignCommon() - Constructor for class COSE.SignCommon
 
Signer - Class in COSE
The Signer class is used to implement the COSE_Signer object.
Signer() - Constructor for class COSE.Signer
Create a new signer object to add to a SignMessage
Signer(OneKey) - Constructor for class COSE.Signer
Create a new signer object for a SignMessage and set the key to be used.
signerList - Variable in class COSE.SignMessage
 
SignMessage - Class in COSE
The SignMessage class is used to implement the COSE_Sign object.
SignMessage() - Constructor for class COSE.SignMessage
Create a signed message object for which the leading tag and the content will be included.
SignMessage(boolean, boolean) - Constructor for class COSE.SignMessage
Create a signed message object for which the emission of the leading tag and content is controlled by the parameters.
strContext - Variable in class COSE.MacCommon
 

V

Validate(Message) - Method in class COSE.CounterSign
 
Validate(byte[]) - Method in class COSE.MAC0Message
 
Validate(byte[]) - Method in class COSE.MacCommon
 
Validate(Recipient) - Method in class COSE.MACMessage
 
validate(CBORObject) - Method in class COSE.Sign1Message
Deprecated.
As of COSE 0.9.1, use validate(OneKey)
validate(OneKey) - Method in class COSE.Sign1Message
Validate the signature on the message using the passed in key.
validate(CipherParameters) - Method in class COSE.Sign1Message
Validate the signature on the message using the passed in key.
validate(byte[], byte[]) - Method in class COSE.Signer
 
validate(Signer) - Method in class COSE.SignMessage
Validate the signature on a message for a specific signer.
value - Variable in enum COSE.MessageTag
 
valueOf(String) - Static method in enum COSE.AlgorithmID
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum COSE.HeaderKeys
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum COSE.KeyKeys
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum COSE.MessageTag
Returns the enum constant of this type with the specified name.
values() - Static method in enum COSE.AlgorithmID
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum COSE.HeaderKeys
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum COSE.KeyKeys
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum COSE.MessageTag
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E F G H K M O R S V 
Skip navigation links

COSE for Java documentation, generatedin 2016.