Package com.exoscale.sdk.model
Class VerifyRequest
java.lang.Object
com.exoscale.sdk.model.VerifyRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class VerifyRequest
extends Object
VerifyRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumHow `message` should be interpreted, with the same semantics as `sign`'s `message-type` field.static enumThe signing algorithm `signature` was produced with. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this verify-request object is equal to o.byte[]The Base64-encoded message to verify (1-4096 decoded bytes), with the same semantics as `sign`'s `message` field.How `message` should be interpreted, with the same semantics as `sign`'s `message-type` field.byte[]The Base64-encoded signature to verify against `message` (1-6144 decoded bytes).The signing algorithm `signature` was produced with.inthashCode()message(byte[] message) messageType(VerifyRequest.MessageTypeEnum messageType) voidsetMessage(byte[] message) voidsetMessageType(VerifyRequest.MessageTypeEnum messageType) voidsetSignature(byte[] signature) voidsetSigningAlgorithm(VerifyRequest.SigningAlgorithmEnum signingAlgorithm) signature(byte[] signature) signingAlgorithm(VerifyRequest.SigningAlgorithmEnum signingAlgorithm) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_MESSAGE_TYPE
- See Also:
-
JSON_PROPERTY_SIGNATURE
- See Also:
-
JSON_PROPERTY_SIGNING_ALGORITHM
- See Also:
-
-
Constructor Details
-
VerifyRequest
public VerifyRequest()
-
-
Method Details
-
message
-
getMessage
@Nonnull public byte[] getMessage()The Base64-encoded message to verify (1-4096 decoded bytes), with the same semantics as `sign`'s `message` field.- Returns:
- message
-
setMessage
public void setMessage(byte[] message) -
messageType
-
getMessageType
How `message` should be interpreted, with the same semantics as `sign`'s `message-type` field.- Returns:
- messageType
-
setMessageType
-
signature
-
getSignature
@Nonnull public byte[] getSignature()The Base64-encoded signature to verify against `message` (1-6144 decoded bytes).- Returns:
- signature
-
setSignature
public void setSignature(byte[] signature) -
signingAlgorithm
-
getSigningAlgorithm
The signing algorithm `signature` was produced with. Must match the family implied by the key's `key-spec`, with the same semantics as `sign`'s `signing-algorithm` field.- Returns:
- signingAlgorithm
-
setSigningAlgorithm
-
equals
Return true if this verify-request object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-