mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 00:20:46 +00:00 
			
		
		
		
	generic encryption for RoutingDestination
This commit is contained in:
		
							parent
							
								
									9fa67b0e0a
								
							
						
					
					
						commit
						81658d2ff9
					
				
					 8 changed files with 83 additions and 40 deletions
				
			
		| 
						 | 
				
			
			@ -76,7 +76,8 @@ namespace data
 | 
			
		|||
 | 
			
		||||
			// implements RoutingDestination
 | 
			
		||||
			std::shared_ptr<const IdentityEx> GetIdentity () const { return m_Identity; };
 | 
			
		||||
			const uint8_t * GetEncryptionPublicKey () const { return m_EncryptionKey; };
 | 
			
		||||
			const uint8_t * GetEncryptionPublicKey () const { return m_EncryptionKey; }; // deprecated
 | 
			
		||||
			void Encrypt (const uint8_t * data, uint8_t * encrypted, BN_CTX * ctx);
 | 
			
		||||
			bool IsDestination () const { return true; };
 | 
			
		||||
 | 
			
		||||
		private:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue