Show / Hide Table of Contents

Class VerifyDataDetails

The details of the message that you want to verify.

Inheritance
object
VerifyDataDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.KeymanagementService.Models
Assembly: OCI.DotNetSDK.Keymanagement.dll
Syntax
public class VerifyDataDetails

Properties

KeyId

Declaration
[Required(ErrorMessage = "KeyId is required.")]
[JsonProperty(PropertyName = "keyId")]
public string KeyId { get; set; }
Property Value
Type Description
string

The OCID of the key used to sign the message.

Remarks

Required

KeyVersionId

Declaration
[Required(ErrorMessage = "KeyVersionId is required.")]
[JsonProperty(PropertyName = "keyVersionId")]
public string KeyVersionId { get; set; }
Property Value
Type Description
string

The OCID of the key version used to sign the message.

Remarks

Required

Message

Declaration
[Required(ErrorMessage = "Message is required.")]
[JsonProperty(PropertyName = "message")]
public string Message { get; set; }
Property Value
Type Description
string

The base64-encoded binary data object denoting the message or message digest to sign. You can have a message up to 4096 bytes in size. To sign a larger message, provide the message digest.

Remarks

Required

MessageType

Declaration
[JsonProperty(PropertyName = "messageType")]
[JsonConverter(typeof(StringEnumConverter))]
public VerifyDataDetails.MessageTypeEnum? MessageType { get; set; }
Property Value
Type Description
VerifyDataDetails.MessageTypeEnum?

Denotes whether the value of the message parameter is a raw message or a message digest. The default value, RAW, indicates a message. To indicate a message digest, use DIGEST.

Signature

Declaration
[Required(ErrorMessage = "Signature is required.")]
[JsonProperty(PropertyName = "signature")]
public string Signature { get; set; }
Property Value
Type Description
string

The base64-encoded binary data object denoting the cryptographic signature generated for the message.

Remarks

Required

SigningAlgorithm

Declaration
[Required(ErrorMessage = "SigningAlgorithm is required.")]
[JsonProperty(PropertyName = "signingAlgorithm")]
[JsonConverter(typeof(StringEnumConverter))]
public VerifyDataDetails.SigningAlgorithmEnum? SigningAlgorithm { get; set; }
Property Value
Type Description
VerifyDataDetails.SigningAlgorithmEnum?

The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest.

Remarks

Required

In this article
Back to top