Interface AgentCardSignatureOrBuilder (0.27.0)

public interface AgentCardSignatureOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHeader()

public abstract Struct getHeader()

Optional. The unprotected JWS header values.

.google.protobuf.Struct header = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Struct

The header.

getHeaderOrBuilder()

public abstract StructOrBuilder getHeaderOrBuilder()

Optional. The unprotected JWS header values.

.google.protobuf.Struct header = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StructOrBuilder

getProtected()

public abstract String getProtected()

Required. The protected JWS header for the signature. Base64url-encoded.

string protected = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The protected.

getProtectedBytes()

public abstract ByteString getProtectedBytes()

Required. The protected JWS header for the signature. Base64url-encoded.

string protected = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for protected.

getSignature()

public abstract String getSignature()

Required. The computed signature, base64url-encoded.

string signature = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The signature.

getSignatureBytes()

public abstract ByteString getSignatureBytes()

Required. The computed signature, base64url-encoded.

string signature = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for signature.

hasHeader()

public abstract boolean hasHeader()

Optional. The unprotected JWS header values.

.google.protobuf.Struct header = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the header field is set.