2
Xamarin.iOS에서 Google의 서비스 계정을 사용하려고했습니다. System.Security.Cryptography.X509Certificates는 PCL 프로젝트에서 지원되지 않으므로 X509Certificate를 프로젝트에로드하려면 Bouncy Castle 또는 PCLCrypto와 같은 다른 방법이 필요합니다.Bouncy Castle 프로젝트에 X.509 v.3 Google 인증서를 추가하는 방법 #
var certificate = new X509Certificate2(@"key.p12", "notasecret", X509KeyStorageFlags.Exportable);
ServiceAccountCredential credential = new ServiceAccountCredential(
new ServiceAccountCredential.Initializer(serviceAccountEmail)
{
Scopes = new[] { PlusService.Scope.PlusMe }
}.FromCertificate(certificate));
질문은, 탄력이 성에서 인증서로드 (코드의 첫 번째 줄)의 또 다른 방법 무엇이다 : 기본적으로, 구글의 문서로, 인증서를 추출하는 방법은 다음과 같습니다?