public sealed class CertificateProvider : IMessage<CertificateProvider>, IEquatable<CertificateProvider>, IDeepCloneable<CertificateProvider>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Security v1beta1 API class CertificateProvider.
Specification of certificate provider. Defines the mechanism to obtain the
certificate and private key for peer to peer authentication.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCertificateProvider\u003c/code\u003e class in the Google Cloud Network Security v1beta1 API provides a mechanism for defining how to obtain certificates and private keys for peer-to-peer authentication.\u003c/p\u003e\n"],["\u003cp\u003eThis class has multiple versions including the latest 2.0.0-beta06, previous version 2.0.0-beta05, and an older version 1.0.0-beta02.\u003c/p\u003e\n"],["\u003cp\u003eIt implements several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, with inheritance from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCertificateProvider\u003c/code\u003e class offers properties such as \u003ccode\u003eCertificateProviderInstance\u003c/code\u003e and \u003ccode\u003eGrpcEndpoint\u003c/code\u003e for configuring how the data plane accesses and loads credential information and gRPC server details, respectively.\u003c/p\u003e\n"],["\u003cp\u003eIt has a \u003ccode\u003eTypeCase\u003c/code\u003e property that is a \u003ccode\u003eCertificateProvider.TypeOneofCase\u003c/code\u003e object, allowing to know which type is the current instance.\u003c/p\u003e\n"]]],[],null,["# Network Security v1beta1 API - Class CertificateProvider (2.0.0-beta06)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta06 (latest)](/dotnet/docs/reference/Google.Cloud.NetworkSecurity.V1Beta1/latest/Google.Cloud.NetworkSecurity.V1Beta1.CertificateProvider)\n- [2.0.0-beta05](/dotnet/docs/reference/Google.Cloud.NetworkSecurity.V1Beta1/2.0.0-beta05/Google.Cloud.NetworkSecurity.V1Beta1.CertificateProvider)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.NetworkSecurity.V1Beta1/1.0.0-beta02/Google.Cloud.NetworkSecurity.V1Beta1.CertificateProvider) \n\n public sealed class CertificateProvider : IMessage\u003cCertificateProvider\u003e, IEquatable\u003cCertificateProvider\u003e, IDeepCloneable\u003cCertificateProvider\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Network Security v1beta1 API class CertificateProvider.\n\nSpecification of certificate provider. Defines the mechanism to obtain the\ncertificate and private key for peer to peer authentication. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CertificateProvider \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CertificateProvider](/dotnet/docs/reference/Google.Cloud.NetworkSecurity.V1Beta1/latest/Google.Cloud.NetworkSecurity.V1Beta1.CertificateProvider), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CertificateProvider](/dotnet/docs/reference/Google.Cloud.NetworkSecurity.V1Beta1/latest/Google.Cloud.NetworkSecurity.V1Beta1.CertificateProvider), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CertificateProvider](/dotnet/docs/reference/Google.Cloud.NetworkSecurity.V1Beta1/latest/Google.Cloud.NetworkSecurity.V1Beta1.CertificateProvider), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\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.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.NetworkSecurity.V1Beta1](/dotnet/docs/reference/Google.Cloud.NetworkSecurity.V1Beta1/latest/Google.Cloud.NetworkSecurity.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.NetworkSecurity.V1Beta1.dll\n\nConstructors\n------------\n\n### CertificateProvider()\n\n public CertificateProvider()\n\n### CertificateProvider(CertificateProvider)\n\n public CertificateProvider(CertificateProvider other)\n\nProperties\n----------\n\n### CertificateProviderInstance\n\n public CertificateProviderInstance CertificateProviderInstance { get; set; }\n\nThe certificate provider instance specification that will be passed to\nthe data plane, which will be used to load necessary credential\ninformation.\n\n### GrpcEndpoint\n\n public GrpcEndpoint GrpcEndpoint { get; set; }\n\ngRPC specific configuration to access the gRPC server to\nobtain the cert and private key.\n\n### TypeCase\n\n public CertificateProvider.TypeOneofCase TypeCase { get; }"]]