public sealed class KeyCertificatePairKey certificate pair (in PEM encoding).
Namespace
Grpc.CoreAssembly
Grpc.Core.Api.dll
Constructors
KeyCertificatePair(string, string)
public KeyCertificatePair(string certificateChain, string privateKey)Creates a new certificate chain - private key pair.
| Parameters | |
|---|---|
| Name | Description |
certificateChain |
stringPEM encoded certificate chain. |
privateKey |
stringPEM encoded private key. |
Properties
CertificateChain
public string CertificateChain { get; }PEM encoded certificate chain.
| Property Value | |
|---|---|
| Type | Description |
string |
|
PrivateKey
public string PrivateKey { get; }PEM encoded private key.
| Property Value | |
|---|---|
| Type | Description |
string |
|