AgentCardSignature

data class AgentCardSignature(val header: Data? = null, val protectedHeader: String, val signature: String)(source)

AgentCardSignature represents a JWS signature of an AgentCard. This follows the JSON format of an RFC 7515 JSON Web Signature (JWS).

Constructors

Link copied to clipboard
constructor(header: Data? = null, protectedHeader: String, signature: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "header")
val header: Data?

The unprotected JWS header values.

Link copied to clipboard
@SerialName(value = "protected")
val protectedHeader: String

The protected JWS header for the signature. This is a Base64url-encoded JSON object, as per RFC 7515.

Link copied to clipboard
@SerialName(value = "signature")
val signature: String

The computed signature, Base64url-encoded.