Show / Hide Table of Contents

Class Certificate

The details of the SSL certificate. Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

Inheritance
object
Certificate
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.WaasService.Models
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class Certificate

Properties

CertificateData

Declaration
[JsonProperty(PropertyName = "certificateData")]
public string CertificateData { get; set; }
Property Value
Type Description
string

The data of the SSL certificate.

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the certificate's compartment.

Remarks

Required

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"}}

DisplayName

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

The user-friendly name of the certificate.

Remarks

Required

Extensions

Declaration
[JsonProperty(PropertyName = "extensions")]
public List<Certificate_extensions> Extensions { get; set; }
Property Value
Type Description
List<Certificate_extensions>

Additional attributes associated with users or public keys for managing relationships between Certificate Authorities.

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

IsTrustVerificationDisabled

Declaration
[JsonProperty(PropertyName = "isTrustVerificationDisabled")]
public bool? IsTrustVerificationDisabled { get; set; }
Property Value
Type Description
bool?

This indicates whether trust verification was disabled during the creation of SSL certificate. If true SSL certificate trust verification was disabled and this SSL certificate is most likely self-signed.

IssuedBy

Declaration
[JsonProperty(PropertyName = "issuedBy")]
public string IssuedBy { get; set; }
Property Value
Type Description
string

IssuerName

Declaration
[JsonProperty(PropertyName = "issuerName")]
public CertificateIssuerName IssuerName { get; set; }
Property Value
Type Description
CertificateIssuerName

LifecycleState

Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleStates? LifecycleState { get; set; }
Property Value
Type Description
LifecycleStates?

The current lifecycle state of the SSL certificate.

PublicKeyInfo

Declaration
[JsonProperty(PropertyName = "publicKeyInfo")]
public Certificate_publicKeyInfo PublicKeyInfo { get; set; }
Property Value
Type Description
Certificate_publicKeyInfo

SerialNumber

Declaration
[Required(ErrorMessage = "SerialNumber is required.")]
[JsonProperty(PropertyName = "serialNumber")]
public string SerialNumber { get; set; }
Property Value
Type Description
string

A unique, positive integer assigned by the Certificate Authority (CA). The issuer name and serial number identify a unique certificate.

Remarks

Required

SignatureAlgorithm

Declaration
[Required(ErrorMessage = "SignatureAlgorithm is required.")]
[JsonProperty(PropertyName = "signatureAlgorithm")]
public string SignatureAlgorithm { get; set; }
Property Value
Type Description
string

The identifier for the cryptographic algorithm used by the Certificate Authority (CA) to sign this certificate.

Remarks

Required

SubjectName

Declaration
[JsonProperty(PropertyName = "subjectName")]
public CertificateSubjectName SubjectName { get; set; }
Property Value
Type Description
CertificateSubjectName

TimeCreated

Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time the certificate was created, expressed in RFC 3339 timestamp format.

TimeNotValidAfter

Declaration
[Required(ErrorMessage = "TimeNotValidAfter is required.")]
[JsonProperty(PropertyName = "timeNotValidAfter")]
public DateTime? TimeNotValidAfter { get; set; }
Property Value
Type Description
DateTime?

The date and time the certificate will expire, expressed in RFC 3339 timestamp format.

Remarks

Required

TimeNotValidBefore

Declaration
[Required(ErrorMessage = "TimeNotValidBefore is required.")]
[JsonProperty(PropertyName = "timeNotValidBefore")]
public DateTime? TimeNotValidBefore { get; set; }
Property Value
Type Description
DateTime?

The date and time the certificate will become valid, expressed in RFC 3339 timestamp format.

Remarks

Required

Version

Declaration
[Required(ErrorMessage = "Version is required.")]
[JsonProperty(PropertyName = "version")]
public int? Version { get; set; }
Property Value
Type Description
int?

The version of the encoded certificate.

Remarks

Required

In this article
Back to top