Package org.bouncycastle.tls.crypto
Interface TlsCryptoProvider
- All Known Implementing Classes:
JcaTlsCryptoProvider
public interface TlsCryptoProvider
Interface that provider's of TlsCrypto implementations need to conform to.
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(SecureRandom random) Create a TlsCrypto using the passed in sources of entropy for key material and nonce generation.create
(SecureRandom keyRandom, SecureRandom nonceRandom) Create a TlsCrypto using the passed in sources of entropy for keys and nonces.
-
Method Details
-
create
Create a TlsCrypto using the passed in sources of entropy for key material and nonce generation.- Parameters:
random
- SecureRandom for generating key material and seeds for nonce generation.- Returns:
- a TlsCrypto.
-
create
Create a TlsCrypto using the passed in sources of entropy for keys and nonces.- Parameters:
keyRandom
- SecureRandom for generating key material.nonceRandom
- SecureRandom for generating nonces.- Returns:
- a TlsCrypto.
-