Class: A2A::AgentCardSignature
- Inherits:
-
ProtocolStruct
- Object
- Dry::Struct
- ProtocolStruct
- A2A::AgentCardSignature
- Defined in:
- lib/a2a/types/agent_card_signature.rb
Overview
AgentCardSignature represents a JWS signature of an AgentCard. This follows the JSON format of an RFC 7515 JSON Web Signature (JWS).
Instance Method Summary collapse
-
#header ⇒ Hash?
The unprotected JWS header values.
-
#protected ⇒ String
The protected JWS header for the signature.
-
#signature ⇒ String
The computed signature, Base64url-encoded.
Methods included from Extensions::CaseTransformation
Instance Method Details
#header ⇒ Hash?
Returns The unprotected JWS header values.
15 |
# File 'lib/a2a/types/agent_card_signature.rb', line 15 attribute? :header, Types::Hash.optional |
#protected ⇒ String
Returns The protected JWS header for the signature. This is a Base64url-encoded JSON object, as per RFC 7515.
9 |
# File 'lib/a2a/types/agent_card_signature.rb', line 9 attribute :protected, Types::String |
#signature ⇒ String
Returns The computed signature, Base64url-encoded.
12 |
# File 'lib/a2a/types/agent_card_signature.rb', line 12 attribute :signature, Types::String |