Removed double-encryption of shared secrets.

This commit is contained in:
akwizgran
2011-11-15 14:09:28 +00:00
parent 6cdf68d6cb
commit 23be7fd876
8 changed files with 42 additions and 123 deletions

View File

@@ -1,18 +0,0 @@
package net.sf.briar.api.crypto;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import com.google.inject.BindingAnnotation;
/**
* Annotation for injecting the key that is used for encrypting and decrypting
* secrets stored in the database.
*/
@BindingAnnotation
@Target({ PARAMETER })
@Retention(RUNTIME)
public @interface SecretStorageKey {}