Uses of Class
COSE.OneKey
-
-
Uses of OneKey in COSE
Methods in COSE that return OneKey Modifier and Type Method Description static OneKeyOneKey. generateKey(com.upokecenter.cbor.CBORObject curve)static OneKeyOneKey. generateKey(AlgorithmID algorithm)static OneKeyOneKey. generateKey(AlgorithmID algorithm, String parameters)Generate a random key pair based on the given algorithm.OneKeyOneKey. PublicKey()Create a OneKey object with only the public fields.Methods in COSE that return types with arguments of type OneKey Modifier and Type Method Description BiConsumer<KeySet,OneKey>KeySetCollector. accumulator()List<OneKey>KeySet. getList()Stream<OneKey>KeySet. parallelStream()Stream<OneKey>KeySet. stream()Methods in COSE with parameters of type OneKey Modifier and Type Method Description voidKeySet. add(OneKey key)voidKeySet. remove(OneKey key)voidCounterSign1. setKey(OneKey key)voidSigner. setKey(OneKey keyIn)Set a key object on a signervoidRecipient. SetKey(OneKey key)Set the key for encrypting/decrypting the recipient key.voidRecipient. SetSenderKey(OneKey key)voidSign1Message. sign(OneKey key)Create a signature for the message if one does not exist.booleanSign1Message. validate(OneKey cnKey)Validate the signature on the message using the passed in key.
-