| 
									
										
										
										
											2015-12-13 17:50:04 +01:00
										 |  |  | /*! | 
					
						
							|  |  |  |  * letiny | 
					
						
							|  |  |  |  * Copyright(c) 2015 Anatol Sommer <anatol@anatol.at> | 
					
						
							|  |  |  |  * Some code used from https://github.com/letsencrypt/boulder/tree/master/test/js
 | 
					
						
							|  |  |  |  * MPL 2.0 | 
					
						
							|  |  |  | */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 'use strict'; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-12-15 14:48:55 +00:00
										 |  |  | exports.Acme = require('./acme-client'); | 
					
						
							|  |  |  | exports.registerNewAccount = require('./register-new-account'); | 
					
						
							|  |  |  | exports.getCertificate = require('./get-certificate'); | 
					
						
							| 
									
										
										
										
											2015-12-15 14:35:58 +00:00
										 |  |  | exports.getCert=function (options, cb) { | 
					
						
							|  |  |  |   exports.registerNewAccount(options, function () { | 
					
						
							|  |  |  |     exports.getCertificate(options, cb); | 
					
						
							|  |  |  |   }); | 
					
						
							| 
									
										
										
										
											2015-12-13 17:50:04 +01:00
										 |  |  | }; |