Class KeyCertificatePair
Key certificate pair (in PEM encoding).
Inheritance
System.Object
KeyCertificatePair
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Grpc.Core
Assembly: Grpc.Core.Api.dll
Syntax
public sealed class KeyCertificatePair
Constructors
KeyCertificatePair(String, String)
Creates a new certificate chain - private key pair.
Declaration
public KeyCertificatePair(string certificateChain, string privateKey)
Parameters
Type | Name | Description |
---|---|---|
System.String | certificateChain | PEM encoded certificate chain. |
System.String | privateKey | PEM encoded private key. |
Properties
CertificateChain
PEM encoded certificate chain.
Declaration
public string CertificateChain { get; }
Property Value
Type | Description |
---|---|
System.String |
PrivateKey
PEM encoded private key.
Declaration
public string PrivateKey { get; }
Property Value
Type | Description |
---|---|
System.String |