Class Certificate
The details of the certificate. This object does not contain the certificate contents.
Inherited Members
Namespace: Oci.CertificatesmanagementService.Models
Assembly: OCI.DotNetSDK.Certificatesmanagement.dll
Syntax
public class Certificate
Properties
CertificateProfileType
Declaration
[JsonProperty(PropertyName = "certificateProfileType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CertificateProfileType? CertificateProfileType { get; set; }
Property Value
Type | Description |
---|---|
CertificateProfileType? | The name of the profile used to create the certificate, which depends on the type of certificate you need. |
CertificateRevocationListDetails
Declaration
[JsonProperty(PropertyName = "certificateRevocationListDetails")]
public CertificateRevocationListDetails CertificateRevocationListDetails { get; set; }
Property Value
Type | Description |
---|---|
CertificateRevocationListDetails |
CertificateRules
Declaration
[JsonProperty(PropertyName = "certificateRules")]
public List<CertificateRule> CertificateRules { get; set; }
Property Value
Type | Description |
---|---|
List<CertificateRule> | A list of rules that control how the certificate is used and managed. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment where you want to create the certificate. |
Remarks
Required
ConfigType
Declaration
[Required(ErrorMessage = "ConfigType is required.")]
[JsonProperty(PropertyName = "configType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CertificateConfigType? ConfigType { get; set; }
Property Value
Type | Description |
---|---|
CertificateConfigType? | The origin of the certificate. |
Remarks
Required
CurrentVersion
Declaration
[JsonProperty(PropertyName = "currentVersion")]
public CertificateVersionSummary CurrentVersion { get; set; }
Property Value
Type | Description |
---|---|
CertificateVersionSummary |
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}} |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | A brief description of the certificate. Avoid entering confidential information. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the certificate. |
Remarks
Required
IssuerCertificateAuthorityId
Declaration
[JsonProperty(PropertyName = "issuerCertificateAuthorityId")]
public string IssuerCertificateAuthorityId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the certificate authority (CA) that issued the certificate. |
KeyAlgorithm
Declaration
[JsonProperty(PropertyName = "keyAlgorithm")]
[JsonConverter(typeof(ResponseEnumConverter))]
public KeyAlgorithm? KeyAlgorithm { get; set; }
Property Value
Type | Description |
---|---|
KeyAlgorithm? | The algorithm used to create key pairs. |
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | Additional information about the current lifecycle state of the certificate. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CertificateLifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
CertificateLifecycleState? | The current lifecycle state of the certificate. |
Remarks
Required
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly name for the certificate. Names are unique within a compartment. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. |
Remarks
Required
SignatureAlgorithm
Declaration
[JsonProperty(PropertyName = "signatureAlgorithm")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SignatureAlgorithm? SignatureAlgorithm { get; set; }
Property Value
Type | Description |
---|---|
SignatureAlgorithm? | The algorithm used to sign the public key certificate. |
Subject
Declaration
[JsonProperty(PropertyName = "subject")]
public CertificateSubject Subject { get; set; }
Property Value
Type | Description |
---|---|
CertificateSubject |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | A property indicating when the certificate was created, expressed in RFC 3339 timestamp format. Example: 2019-04-03T21:10:29.600Z |
Remarks
Required
TimeOfDeletion
Declaration
[JsonProperty(PropertyName = "timeOfDeletion")]
public DateTime? TimeOfDeletion { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | An optional property indicating when to delete the certificate version, expressed in RFC 3339 timestamp format. Example: 2019-04-03T21:10:29.600Z |