| Modifier and Type | Method and Description |
|---|---|
static HeaderKeys |
HeaderKeys.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeaderKeys[] |
HeaderKeys.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Attribute.addAttribute(HeaderKeys label,
byte[] value,
int where)
Set an attribute in the COSE object.
|
void |
Attribute.addAttribute(HeaderKeys label,
com.upokecenter.cbor.CBORObject value,
int where)
Set an attribute in the COSE object.
|
void |
Attribute.AddProtected(HeaderKeys label,
byte[] value)
Deprecated.
As of COSE 0.9.0, use addAttribute(HeaderKeys, byte[], Attribute.PROTECTED);
|
void |
Attribute.AddProtected(HeaderKeys label,
com.upokecenter.cbor.CBORObject value)
Deprecated.
As of COSE 0.9.0, use addAttribute(HeaderKeys, CBORObject, Attribute.PROTECTED);
|
void |
Attribute.AddUnprotected(HeaderKeys label,
byte[] value)
Deprecated.
As of COSE 0.9.1, use addAttribute(HeaderKeys, byte[], Attribute.UNPROTECTED);
|
void |
Attribute.AddUnprotected(HeaderKeys label,
com.upokecenter.cbor.CBORObject value)
Deprecated.
As of COSE 0.9.1, use addAttribute(HeaderKeys, byte[], Attribute.UNPROTECTED);
|
com.upokecenter.cbor.CBORObject |
Attribute.findAttribute(HeaderKeys label)
Locate an attribute in one of the attribute buckets The buckets are
searched in the order protected, unprotected, unsent.
|
com.upokecenter.cbor.CBORObject |
Attribute.findAttribute(HeaderKeys label,
int where)
Locate an attribute in one of the attribute buckets The buckets are
searched in the order protected, unprotected, unsent.
|
void |
Attribute.removeAttribute(HeaderKeys label)
Remove an attribute from the set of all attribute maps.
|
COSE for Java documentation, generatedin 2018.