//
//  MCPGServer+SSLInitializing.h
//  MCClientServer
//
//  Created by Brent Gulanowski on 11/02/09.
//  Copyright 2009 Marketcircle, Inc. All rights reserved.
//

#import <MCPostgresPersistence/MCPGServer.h>

@class MCServerKeychain;

@interface MCPGServer (MCSSSLInitializing)
+ (NSString *)opensslConfig;
+ (NSString *)serverNameForSSLIdentity;
- (BOOL)prepareSSLServerCertificateReturningKeychain:(MCServerKeychain **)keychain_p error:(NSError **)error_p;

/*
 Returns the existing keychain as is. Does no checking. For use in hosted.
 */
- (MCServerKeychain *)existingServerKeychain;

@end
