Use the BouncyCastle provider so we can be sure we won't get

NoSuchAlgorithmExceptions. Key generation is *slow* - I guess that's a
good sign. ;-)
This commit is contained in:
akwizgran
2011-07-25 10:38:46 +01:00
parent c98c968b87
commit fb95565880
13 changed files with 126 additions and 78 deletions

View File

@@ -0,0 +1,17 @@
package net.sf.briar.api.crypto;
import java.security.KeyPair;
import java.security.MessageDigest;
import java.security.Signature;
public interface CryptoComponent {
KeyPair generateKeyPair();
KeyParser getKeyParser();
MessageDigest getMessageDigest();
Signature getSignature();
}