4 references to GetResourceFromServiceAsByteArray
Infrastructure.Common (4)
ServiceUtilHelper.cs (4)
151
X509Certificate2 rootCertificate = new X509Certificate2(
GetResourceFromServiceAsByteArray
(RootCertificateResource));
362
X509Certificate2 clientCertificate = new X509Certificate2(
GetResourceFromServiceAsByteArray
(ClientCertificateResource), "test", storageFlags);
371
X509Certificate2 peerCertificate = new X509Certificate2(
GetResourceFromServiceAsByteArray
(PeerCertificateResource), "test", X509KeyStorageFlags.DefaultKeySet);
380
X509Certificate2 peerCertificate = new X509Certificate2(
GetResourceFromServiceAsByteArray
(PeerCertificateResource), "test", X509KeyStorageFlags.PersistKeySet | X509KeyStorageFlags.UserKeySet);