Skip navigation links
A C D E F G H K M O P R S U 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
 
addAttribute(CBORObject, CBORObject, int) - Method in class COSE.Attribute
Set an attribute in the COSE object.
addAttribute(HeaderKeys, CBORObject, int) - Method in class COSE.Attribute
Set an attribute in the COSE object.
addAttribute(HeaderKeys, byte[], int) - Method in class COSE.Attribute
Set an attribute in the COSE object.
AddProtected(CBORObject, CBORObject) - Method in class COSE.Attribute
Deprecated.
As of COSE 0.9.0, use addAttribute(CBORObject, CBORObject, Attribute.PROTECTED);
AddProtected(HeaderKeys, CBORObject) - Method in class COSE.Attribute
Deprecated.
As of COSE 0.9.0, use addAttribute(HeaderKeys, CBORObject, Attribute.PROTECTED);
AddProtected(HeaderKeys, byte[]) - Method in class COSE.Attribute
Deprecated.
As of COSE 0.9.0, use addAttribute(HeaderKeys, byte[], Attribute.PROTECTED);
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.
AddUnprotected(CBORObject, CBORObject) - Method in class COSE.Attribute
Deprecated.
As of COSE 0.9.1, use addAttribute(HeaderKeys, byte[], Attribute.UNPROTECTED);
AddUnprotected(HeaderKeys, CBORObject) - Method in class COSE.Attribute
Deprecated.
As of COSE 0.9.1, use addAttribute(HeaderKeys, byte[], Attribute.UNPROTECTED);
AddUnprotected(HeaderKeys, byte[]) - Method in class COSE.Attribute
Deprecated.
As of COSE 0.9.1, use addAttribute(HeaderKeys, byte[], Attribute.UNPROTECTED);
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
 
AsCBOR() - Method in class COSE.OneKey
Return the key as a CBOR object
AsPrivateKey() - Method in class COSE.OneKey
Return a java.security.PrivateKey that is the same as the OneKey key
AsPublicKey() - Method in class COSE.OneKey
Return a java.security.PublicKey that is the same as the OneKey key
Attribute - Class in COSE
Internal class which supports the protected and unprotected attribute maps that are common to the core COSE objects.
Attribute() - Constructor for class COSE.Attribute
 

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
 
DO_NOT_SEND - Static variable in class COSE.Attribute
Used to place an attribute in the do not send attribute map Attributes in this map are available for lookup and use but will not be transmitted as part of the message.
DontSendAttributes - Static variable in class COSE.Attribute
Deprecated.
As of COSE 0.9.1, use Attribute.DO_NOT_SEND

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
 
ECPrivateKey - Class in COSE
 
ECPrivateKey(OneKey) - Constructor for class COSE.ECPrivateKey
 
ECPublicKey - Class in COSE
 
ECPublicKey(OneKey) - Constructor for class COSE.ECPublicKey
 
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.
EncodeToBytes() - Method in class COSE.OneKey
Encode to a byte string
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
 
externalData - Variable in class COSE.Attribute
Holder for the external data object that is authenticated as part of the message

F

findAttribute(CBORObject) - Method in class COSE.Attribute
Locate an attribute in one of the attribute buckets The buckets are searched in the order protected, unprotected, unsent.
findAttribute(CBORObject, int) - Method in class COSE.Attribute
Locate an attribute in one of the attribute buckets The buckets are searched in the order protected, unprotected, unsent.
findAttribute(HeaderKeys) - Method in class COSE.Attribute
Locate an attribute in one of the attribute buckets The buckets are searched in the order protected, unprotected, unsent.
findAttribute(HeaderKeys, int) - Method in class COSE.Attribute
Locate an attribute in one of the attribute buckets The buckets are searched in the order protected, unprotected, unsent.
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
 
getAlgorithm() - Method in class COSE.ECPrivateKey
 
getAlgorithm() - Method in class COSE.ECPublicKey
 
GetContent() - Method in class COSE.Message
Return the content bytes of the message
GetCurve() - Method in class COSE.OneKey
 
getDoNotSendAttributes() - Method in class COSE.Attribute
Return the entire map of do not send attributes
getEncoded() - Method in class COSE.ECPrivateKey
 
getEncoded() - Method in class COSE.ECPublicKey
 
getEncryptedContent() - Method in class COSE.EncryptCommon
Used to obtain the encrypted content for the cases where detached content is requested.
getExternal() - Method in class COSE.Attribute
Get the optional external data field to be authenticated * @return external authenticated data
getFormat() - Method in class COSE.ECPrivateKey
 
getFormat() - Method in class COSE.ECPublicKey
 
getKey(AlgorithmID) - Method in class COSE.Recipient
 
getKeySize() - Method in enum COSE.AlgorithmID
 
getList() - Method in class COSE.KeySet
 
getParams() - Method in class COSE.ECPrivateKey
 
getParams() - Method in class COSE.ECPublicKey
 
getProtectedAttributes() - Method in class COSE.Attribute
Return the entire map of protected attributes
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
 
getS() - Method in class COSE.ECPrivateKey
 
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
 
getUnprotectedAttributes() - Method in class COSE.Attribute
Return the entire map of unprotected attributes
getW() - Method in class COSE.ECPublicKey
 

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

objDontSend - Variable in class COSE.Attribute
Internal map of attributes which are not a part of the encoded message.
objProtected - Variable in class COSE.Attribute
Internal map of protected attributes
objUnprotected - Variable in class COSE.Attribute
Internal map of unprotected attributes
OneKey - Class in COSE
 
OneKey() - Constructor for class COSE.OneKey
 
OneKey(CBORObject) - Constructor for class COSE.OneKey
 

P

PROTECTED - Static variable in class COSE.Attribute
Used to place an attribute in the protected attribute map Attributes placed in this map are part of the integrity check if the cryptographic algorithm supports authenticated data.
ProtectedAttributes - Static variable in class COSE.Attribute
Deprecated.
As of COSE 0.9.1, use Attribute.PROTECT
PublicKey() - Method in class COSE.OneKey
Create a OneKey object with only the public fields.

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
 
removeAttribute(CBORObject) - Method in class COSE.Attribute
Remove an attribute from the set of all attribute maps.
removeAttribute(HeaderKeys) - Method in class COSE.Attribute
Remove an attribute from the set of all attribute maps.
rgbContent - Variable in class COSE.Message
What is the plain text content of the message.
rgbEncrypt - Variable in class COSE.EncryptCommon
 
rgbProtected - Variable in class COSE.Attribute
The encoded byte string for the protected attributes.
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.
setExternal(byte[]) - Method in class COSE.Attribute
Set the optional external data field to be authenticated
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
 

U

UNPROTECTED - Static variable in class COSE.Attribute
Used to place an attribute in the unprotected attribute map Attributes placed in this map are not integrity protected.
UnprotectedAttributes - Static variable in class COSE.Attribute
Deprecated.
As of COSE 0.9.1, use Attribute.UNPROTECT

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 P R S U V 
Skip navigation links

COSE for Java documentation, generatedin 2016.