| Modifier and Type | Method and Description |
|---|---|
static OneKey |
OneKey.generateKey(AlgorithmID algorithm) |
static OneKey |
OneKey.generateKey(com.upokecenter.cbor.CBORObject curve) |
OneKey |
OneKey.PublicKey()
Create a OneKey object with only the public fields.
|
| Modifier and Type | Method and Description |
|---|---|
BiConsumer<KeySet,OneKey> |
KeySetCollector.accumulator() |
List<OneKey> |
KeySet.getList() |
Stream<OneKey> |
KeySet.parallelStream() |
Stream<OneKey> |
KeySet.stream() |
| 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 |
|---|
Signer(OneKey key)
Create a new signer object for a SignMessage and set the key to be used.
|
COSE for Java documentation, generatedin 2018.