chimney
This commit is contained in:
		
							parent
							
								
									38014bcf07
								
							
						
					
					
						commit
						67d28867e7
					
				@ -6,27 +6,6 @@ function notToJson() {
 | 
			
		||||
  return undefined;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
function importPrivateKey(privateKey) {
 | 
			
		||||
  return forge.pki.rsa.setPrivateKey(
 | 
			
		||||
            base64ToBn(privateKey.n)
 | 
			
		||||
          , base64ToBn(privateKey.e)
 | 
			
		||||
          , base64ToBn(privateKey.d)
 | 
			
		||||
          , base64ToBn(privateKey.p)
 | 
			
		||||
          , base64ToBn(privateKey.q)
 | 
			
		||||
          , base64ToBn(privateKey.dp)
 | 
			
		||||
          , base64ToBn(privateKey.dq)
 | 
			
		||||
          , base64ToBn(privateKey.qi)
 | 
			
		||||
  );
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function importPublicKey(publicKey) {
 | 
			
		||||
  return forge.pki.rsa.setPublicKey(
 | 
			
		||||
             base64ToBn(publicKey.n),
 | 
			
		||||
             base64ToBn(publicKey.e));
 | 
			
		||||
}
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
var forgec = module.exports = {
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user