Class KeyShape
The cryptographic properties of a key.
Inherited Members
Namespace: Oci.KeymanagementService.Models
Assembly: OCI.DotNetSDK.Keymanagement.dll
Syntax
public class KeyShapeProperties
Algorithm
Declaration
[Required(ErrorMessage = "Algorithm is required.")]
[JsonProperty(PropertyName = "algorithm")]
[JsonConverter(typeof(ResponseEnumConverter))]
public KeyShape.AlgorithmEnum? Algorithm { get; set; }Property Value
| Type | Description | 
|---|---|
| KeyShape.AlgorithmEnum? | The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for  | 
Remarks
Required
CurveId
Declaration
[JsonProperty(PropertyName = "curveId")]
[JsonConverter(typeof(ResponseEnumConverter))]
public KeyShape.CurveIdEnum? CurveId { get; set; }Property Value
| Type | Description | 
|---|---|
| KeyShape.CurveIdEnum? | Supported curve IDs for ECDSA keys. | 
Length
Declaration
[Required(ErrorMessage = "Length is required.")]
[JsonProperty(PropertyName = "length")]
public int? Length { get; set; }Property Value
| Type | Description | 
|---|---|
| int? | The length of the key in bytes, expressed as an integer. Supported values include the following: 
 | 
Remarks
Required