Show / Hide Table of Contents

Class URLBasedX509CertificateSupplier

A class that retrieves both certificate and private key off of URL. This class also provides a way to manually refresh the certificate and private key at any point.

Inheritance
object
URLBasedX509CertificateSupplier
Implements
IX509CertificateSupplier
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.Common.Auth
Assembly: OCI.DotNetSDK.Common.dll
Syntax
public class URLBasedX509CertificateSupplier : IX509CertificateSupplier

Constructors

URLBasedX509CertificateSupplier(ResourceDetails, ResourceDetails, char[])

Declaration
public URLBasedX509CertificateSupplier(ResourceDetails certificateResourceDetails, ResourceDetails privateKeyResourceDetails, char[] privateKeyPassphraseCharacters)
Parameters
Type Name Description
ResourceDetails certificateResourceDetails
ResourceDetails privateKeyResourceDetails
char[] privateKeyPassphraseCharacters

Fields

logger

Declaration
protected static Logger logger
Field Value
Type Description
Logger

Properties

Client

Declaration
public HttpClient Client { get; set; }
Property Value
Type Description
HttpClient

Methods

GetCertificateAndKeyPair()

Returns the X509 certificate and private key. The X509 certificate will always be valid. The private key may be null for intermediate certificates. For leaf certificates, the private key will always be valid.

Declaration
public CertificateAndPrivateKeyPair GetCertificateAndKeyPair()
Returns
Type Description
CertificateAndPrivateKeyPair

An object with the certificate and private key pair.

Refresh()

Update or extend the validity period for an Object.

Declaration
public void Refresh()

Implements

IX509CertificateSupplier
In this article
Back to top