Show / Hide Table of Contents

Class SignedData

The response to a request to sign the message.

Inheritance
object
SignedData
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 SignedData

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

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 or message digest.

Remarks

Required

SigningAlgorithm

Declaration
[Required(ErrorMessage = "SigningAlgorithm is required.")]
[JsonProperty(PropertyName = "signingAlgorithm")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SignedData.SigningAlgorithmEnum? SigningAlgorithm { get; set; }
Property Value
Type Description
SignedData.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