Class CryptoAssessmentKeySummary
Summary of one cryptographic key observed for a crypto assessment.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class CryptoAssessmentKeySummary
Properties
Age
Declaration
[JsonProperty(PropertyName = "age")]
public long? Age { get; set; }
Property Value
| Type | Description |
|---|---|
| long? | Age of the key in whole days, calculated from timeCreated using the current UTC date. |
Algorithm
Declaration
[Required(ErrorMessage = "Algorithm is required.")]
[JsonProperty(PropertyName = "algorithm")]
public string Algorithm { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Cryptographic algorithm used by the key. |
Remarks
Required
AssessmentId
Declaration
[Required(ErrorMessage = "AssessmentId is required.")]
[JsonProperty(PropertyName = "assessmentId")]
public string AssessmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | OCID of the crypto assessment that discovered the key. |
Remarks
Required
Feature
Declaration
[Required(ErrorMessage = "Feature is required.")]
[JsonProperty(PropertyName = "feature")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CryptoFeature? Feature { get; set; }
Property Value
| Type | Description |
|---|---|
| CryptoFeature? | Crypto feature for which the key is observed. |
Remarks
Required
KeyCache
Declaration
[JsonProperty(PropertyName = "keyCache")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CryptoKeyCacheStatus? KeyCache { get; set; }
Property Value
| Type | Description |
|---|---|
| CryptoKeyCacheStatus? | Key cache setting observed for the key. |
KeyId
Declaration
[Required(ErrorMessage = "KeyId is required.")]
[JsonProperty(PropertyName = "keyId")]
public string KeyId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Identifier of the cryptographic key. |
Remarks
Required
KeyType
Declaration
[JsonProperty(PropertyName = "keyType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CryptoAssessmentKeySummary.KeyTypeEnum? KeyType { get; set; }
Property Value
| Type | Description |
|---|---|
| CryptoAssessmentKeySummary.KeyTypeEnum? | Type of cryptographic key observed for the assessment. |
KeystoreType
Declaration
[JsonProperty(PropertyName = "keystoreType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CryptoKeystoreType? KeystoreType { get; set; }
Property Value
| Type | Description |
|---|---|
| CryptoKeystoreType? | Primary keystore type observed for the key. |
SecondaryKeystoreType
Declaration
[JsonProperty(PropertyName = "secondaryKeystoreType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CryptoKeystoreType? SecondaryKeystoreType { get; set; }
Property Value
| Type | Description |
|---|---|
| CryptoKeystoreType? | Secondary keystore type observed for the key, if configured. |
Status
Declaration
[JsonProperty(PropertyName = "status")]
public string Status { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Current status of the cryptographic key as observed on the target. |
TargetId
Declaration
[Required(ErrorMessage = "TargetId is required.")]
[JsonProperty(PropertyName = "targetId")]
public string TargetId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | OCID of the target database associated with the key. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | Key creation time in RFC3339 format. |
Remarks
Required
TimeLastAssessed
Declaration
[JsonProperty(PropertyName = "timeLastAssessed")]
public DateTime? TimeLastAssessed { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The date and time the associated crypto assessment was last assessed, in RFC3339 format. |
TimeLastRotation
Declaration
[JsonProperty(PropertyName = "timeLastRotation")]
public DateTime? TimeLastRotation { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | Most recent key rotation time in RFC3339 format. |
WalletLocation
Declaration
[JsonProperty(PropertyName = "walletLocation")]
public string WalletLocation { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Wallet location observed for the key. |