![]() |
|
Uniot Core
|
| 0.8.1 |
Interface for CBOR Object Signing and Encryption (COSE) signing operations. More...
#include <ICOSESigner.h>
Public Member Functions | |
| virtual | ~ICOSESigner () |
| Virtual destructor to ensure proper cleanup of derived classes. | |
| virtual Bytes | keyId () const =0 |
| Gets the key identifier used by this signer. | |
| virtual Bytes | sign (const Bytes &data) const =0 |
| Signs the provided data using the implementation's cryptographic algorithm. | |
| virtual COSEAlgorithm | signerAlgorithm () const =0 |
| Gets the COSE algorithm identifier used by this signer. | |
Interface for CBOR Object Signing and Encryption (COSE) signing operations.
ICOSESigner provides an interface for implementing cryptographic signing functionality according to the COSE (RFC 8152) standard. Classes implementing this interface can be used to sign data using various cryptographic algorithms.
|
inlinevirtual |
Virtual destructor to ensure proper cleanup of derived classes.
|
pure virtual |
Gets the key identifier used by this signer.
| Bytes | The key identifier as a byte sequence |
Implemented in uniot::Credentials.
Signs the provided data using the implementation's cryptographic algorithm.
| data | The bytes to be signed |
| Bytes | The resulting signature as a byte sequence |
Implemented in uniot::Credentials.
|
pure virtual |
Gets the COSE algorithm identifier used by this signer.
| COSEAlgorithm | The algorithm identifier as defined in the COSE standard |
Implemented in uniot::Credentials.