| Modifier and Type | Method and Description |
|---|---|
static OneKey |
OneKey.generateKey(AlgorithmID algorithm) |
OneKey |
OneKey.PublicKey()
Create a OneKey object with only the public fields.
|
| Modifier and Type | Method and Description |
|---|---|
List<OneKey> |
KeySet.getList() |
| Modifier and Type | Method and Description |
|---|---|
void |
KeySet.add(OneKey key) |
void |
KeySet.remove(OneKey key) |
void |
Signer.setKey(OneKey keyIn)
Set a key object on a signer
|
void |
Recipient.SetKey(OneKey key)
Set the key for encrypting/decrypting the recipient key.
|
void |
Recipient.SetSenderKey(OneKey key) |
void |
Sign1Message.sign(OneKey key)
Create a signature for the message if one does not exist.
|
boolean |
Sign1Message.validate(OneKey cnKey)
Validate the signature on the message using the passed in key.
|
| Constructor and Description |
|---|
ECPrivateKey(OneKey oneKey) |
ECPublicKey(OneKey oneKey) |
Signer(OneKey key)
Create a new signer object for a SignMessage and set the key to be used.
|
COSE for Java documentation, generatedin 2016.