convert our native pkcs#8 to pkcs#1 for diaspora-public-key xrd field
This commit is contained in:
		
					parent
					
						
							
								01703f3be6
							
						
					
				
			
			
				commit
				
					
						60caffcd77
					
				
			
		
					 2 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -121,6 +121,10 @@ function rsatopem($key) {
 | 
			
		|||
	return(metopem($m,$e));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function pemtorsa($key) {
 | 
			
		||||
	pemtome($key,$m,$e);
 | 
			
		||||
	return(metorsa($m,$e));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function pemtome($key,&$m,&$e) {
 | 
			
		||||
	require_once('include/salmon.php');
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue