public interface CryptoEngine
| Modifier and Type | Method and Description |
|---|---|
BlockCipher |
createBlockCipher(KeyPair senderKeyPair,
KeyPair recipientKeyPair)
Creates a block cipher.
|
DsaSigner |
createDsaSigner(KeyPair keyPair)
Creates a DSA signer.
|
KeyAnalyzer |
createKeyAnalyzer()
Creates a key analyzer.
|
KeyGenerator |
createKeyGenerator()
Creates a key generator.
|
Curve |
getCurve()
Return The underlying curve.
|
Curve getCurve()
DsaSigner createDsaSigner(KeyPair keyPair)
keyPair - The key pair.KeyGenerator createKeyGenerator()
BlockCipher createBlockCipher(KeyPair senderKeyPair, KeyPair recipientKeyPair)
senderKeyPair - The sender KeyPair. The sender's private key is required for encryption.recipientKeyPair - The recipient KeyPair. The recipient's private key is required for
decryption.KeyAnalyzer createKeyAnalyzer()