public SymmetricKeyService(string baseAddress, StorageCredentials credentials, X509Certificate2 certificate) { _certificate = certificate; try { if (credentials != null) { _context = new SymmetricKeyContext(baseAddress, credentials); } } catch (Exception ex) { throw ex; } }