Class KeyCertificatePair
Key certificate pair (in PEM encoding).
Inheritance
System.Object
KeyCertificatePair
Namespace: Grpc.Core
Assembly: Grpc.Core.Api.dll
Syntax
public sealed class KeyCertificatePair : object
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 |