System.Security.Cryptography.X509Certificates.X509Certificate2的OAuth 2 v2证书

Cli*_*ive 5 c# oauth-2.0

如何创建System.Security.Cryptography.X509Certificates.X509Certificate2对象?来自cert JSON:

https://www.googleapis.com/oauth2/v2/certs

X509Certificate2构造函数使用以下字节:

https://www.googleapis.com/oauth2/v1/certs

使用OAuth 2 v1证书的示例:

https://github.com/googleplus/gplus-verifytoken-csharp/blob/master/verifytoken.ashx.cs