nl::Weave::Crypto::EncodedRSASignature
Summary
Public attributes
|
Len
|
uint16_t
|
Sig
|
uint8_t *
|
Public types
Public attributes
Public functions
IsEqual
bool IsEqual(
const EncodedRSASignature & other
) const
Compares with another RSA signature.
Details |
Parameters |
|
Return Values |
true
|
The signatures are equal.
|
false
|
The signatures are not equal.
|
|
ReadSignature
WEAVE_ERROR ReadSignature(
TLVReader & reader
)
Reads the signature as a Weave RSASignature structure from the specified TLV reader.
Details |
Parameters |
[in] reader
|
The TLVReader object from which the encoded signature should be read.
|
|
Return Values |
WEAVE_NO_ERROR
|
If the operation succeeded.
|
other
|
Other Weave error codes related to signature reading.
|
|
WriteSignature
WEAVE_ERROR WriteSignature(
TLVWriter & writer,
uint64_t tag
) const
Writes the signature as a Weave RSASignature structure to the specified TLV writer with the given tag.
Details |
Parameters |
[in] writer
|
The TLVWriter object to which the encoded signature should be written.
|
[in] tag
|
TLV tag to be associated with the encoded signature structure.
|
|
Return Values |
WEAVE_NO_ERROR
|
If the operation succeeded.
|
other
|
Other Weave error codes related to signature writing.
|
|