[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eKeyCertificatePair\u003c/code\u003e class represents a pair of a certificate chain and a private key, both in PEM encoding.\u003c/p\u003e\n"],["\u003cp\u003eIt is part of the \u003ccode\u003eGrpc.Core\u003c/code\u003e namespace and is found within the \u003ccode\u003eGrpc.Core.Api.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe class constructor \u003ccode\u003eKeyCertificatePair(string certificateChain, string privateKey)\u003c/code\u003e is used to create a new instance with a PEM encoded certificate chain and private key.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties to access the \u003ccode\u003eCertificateChain\u003c/code\u003e and \u003ccode\u003ePrivateKey\u003c/code\u003e, both of which are strings containing PEM encoded data.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and inherits standard methods such as \u003ccode\u003eEquals\u003c/code\u003e, \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eReferenceEquals\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Class KeyCertificatePair (2.66.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.66.0 (latest)](/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.KeyCertificatePair)\n- [2.63.0](/dotnet/docs/reference/Grpc.Core/2.63.0/Grpc.Core.KeyCertificatePair)\n- [2.48.0](/dotnet/docs/reference/Grpc.Core/2.48.0/Grpc.Core.KeyCertificatePair) \n\n public sealed class KeyCertificatePair\n\nKey certificate pair (in PEM encoding). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e KeyCertificatePair \n\nInherited Members\n-----------------\n\n[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)) \n[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Grpc.Core](/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core)\n\nAssembly\n--------\n\nGrpc.Core.Api.dll\n\nConstructors\n------------\n\n### KeyCertificatePair(string, string)\n\n public KeyCertificatePair(string certificateChain, string privateKey)\n\nCreates a new certificate chain - private key pair.\n\nProperties\n----------\n\n### CertificateChain\n\n public string CertificateChain { get; }\n\nPEM encoded certificate chain.\n\n### PrivateKey\n\n public string PrivateKey { get; }\n\nPEM encoded private key."]]