Show / Hide Table of Contents

Class PrivateKeySupplier

An implementation of ISupplier that reads private key.

Inheritance
object
PrivateKeySupplier
Implements
ISupplier<RsaKeyParameters>
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 PrivateKeySupplier : ISupplier<RsaKeyParameters>

Constructors

PrivateKeySupplier(RsaKeyParameters)

Declaration
public PrivateKeySupplier(RsaKeyParameters privateKey)
Parameters
Type Name Description
RsaKeyParameters privateKey

PrivateKeySupplier(string)

Declaration
public PrivateKeySupplier(string keyContent)
Parameters
Type Name Description
string keyContent

PrivateKeySupplier(string, string)

Declaration
public PrivateKeySupplier(string keyContent, string passPhrase)
Parameters
Type Name Description
string keyContent
string passPhrase

Methods

GetKey()

Retrieves the private key from a key string.

Declaration
public RsaKeyParameters GetKey()
Returns
Type Description
RsaKeyParameters

Implements

ISupplier<T>
In this article
Back to top