Package org.bouncycastle.tls.crypto
Interface TlsCryptoProvider
-
- All Known Implementing Classes:
JcaTlsCryptoProvider
public interface TlsCryptoProviderInterface that provider's of TlsCrypto implementations need to conform to.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TlsCryptocreate(java.security.SecureRandom random)Create a TlsCrypto using the passed in sources of entropy for key material and nonce generation.TlsCryptocreate(java.security.SecureRandom keyRandom, java.security.SecureRandom nonceRandom)Create a TlsCrypto using the passed in sources of entropy for keys and nonces.
-
-
-
Method Detail
-
create
TlsCrypto create(java.security.SecureRandom random)
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
TlsCrypto create(java.security.SecureRandom keyRandom, java.security.SecureRandom nonceRandom)
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.
-
-