LicenseResponse

A parsed AcquireLicenseResponse.

The response signs two of its own elements, and both digests cover the bytes as received. That is why elementSource slices the original document by offset rather than letting the parser hand back a re-serialization: any difference in attribute order, namespace prefix or whitespace would change the hash without changing the meaning.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether the response carries everything needed for verify to mean anything.

Link copied to clipboard
Link copied to clipboard

The base64 XMR licenses the response carries, in order.

Link copied to clipboard
Link copied to clipboard

The RevInfo element verbatim, when the server sent updated revocation data.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
suspend fun verify()

Check that the response really came from the server whose certificate it names.

Link copied to clipboard

The XMR licenses, decoded.