Class CryptoAssessmentCertificateSummary
Summary of one certificate discovered across targets in a compartment.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class CryptoAssessmentCertificateSummary
Properties
Age
Declaration
[JsonProperty(PropertyName = "age")]
public long? Age { get; set; }
Property Value
| Type | Description |
|---|---|
| long? | Age of the certificate in whole days, calculated from timeValidFrom using the current UTC date. |
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 certificate. |
Remarks
Required
AssessmentType
Declaration
[Required(ErrorMessage = "AssessmentType is required.")]
[JsonProperty(PropertyName = "assessmentType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CryptoAssessment.TypeEnum? AssessmentType { get; set; }
Property Value
| Type | Description |
|---|---|
| CryptoAssessment.TypeEnum? | Type of the crypto assessment that discovered the certificate. |
Remarks
Required
CertificateType
Declaration
[Required(ErrorMessage = "CertificateType is required.")]
[JsonProperty(PropertyName = "certificateType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CryptoAssessmentCertificateSummary.CertificateTypeEnum? CertificateType { get; set; }
Property Value
| Type | Description |
|---|---|
| CryptoAssessmentCertificateSummary.CertificateTypeEnum? | Type of certificate. |
Remarks
Required
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | OCID of the compartment that contains the certificate row. |
Remarks
Required
DaysToExpiry
Declaration
[JsonProperty(PropertyName = "daysToExpiry")]
public int? DaysToExpiry { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | Number of whole days until certificate expiration, calculated from timeValidUntil. Negative values indicate already expired certificates. |
ExpiryBucket
Declaration
[JsonProperty(PropertyName = "expiryBucket")]
public string ExpiryBucket { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Expiry bucket populated for the certificate when the assessment runs. Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS. |
Issuer
Declaration
[Required(ErrorMessage = "Issuer is required.")]
[JsonProperty(PropertyName = "issuer")]
public string Issuer { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Issuer of the certificate. |
Remarks
Required
PublicKeyType
Declaration
[Required(ErrorMessage = "PublicKeyType is required.")]
[JsonProperty(PropertyName = "publicKeyType")]
public string PublicKeyType { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Public key type and size. |
Remarks
Required
SerialNumber
Declaration
[Required(ErrorMessage = "SerialNumber is required.")]
[JsonProperty(PropertyName = "serialNumber")]
public string SerialNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Certificate serial number. |
Remarks
Required
SignatureAlgorithm
Declaration
[Required(ErrorMessage = "SignatureAlgorithm is required.")]
[JsonProperty(PropertyName = "signatureAlgorithm")]
public string SignatureAlgorithm { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Signature algorithm used by the certificate. |
Remarks
Required
Status
Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CryptoAssessmentCertificateSummary.StatusEnum? Status { get; set; }
Property Value
| Type | Description |
|---|---|
| CryptoAssessmentCertificateSummary.StatusEnum? | Certificate validity status. |
Remarks
Required
Subject
Declaration
[Required(ErrorMessage = "Subject is required.")]
[JsonProperty(PropertyName = "subject")]
public string Subject { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Subject of the certificate. |
Remarks
Required
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 certificate. |
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. |
TimeValidFrom
Declaration
[Required(ErrorMessage = "TimeValidFrom is required.")]
[JsonProperty(PropertyName = "timeValidFrom")]
public DateTime? TimeValidFrom { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | Certificate validity start time in RFC3339 format. |
Remarks
Required
TimeValidUntil
Declaration
[Required(ErrorMessage = "TimeValidUntil is required.")]
[JsonProperty(PropertyName = "timeValidUntil")]
public DateTime? TimeValidUntil { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | Certificate validity end time in RFC3339 format. |
Remarks
Required
WalletLocation
Declaration
[JsonProperty(PropertyName = "walletLocation")]
public string WalletLocation { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Wallet location where the certificate was discovered, if available. |