Top Description Methods
org.bouncycastle.tls.crypto

public Interface TlsCryptoProvider

Known Direct Implementers
org.bouncycastle.tls.crypto.impl.jcajce.JcaTlsCryptoProvider
Imports
java.security.SecureRandom

Interface that provider's of TlsCrypto implementations need to conform to.

Method Summary

Modifier and TypeMethod and Description
public TlsCrypto

Returns:

a TlsCrypto.
create
(SecureRandom
SecureRandom for generating key material and seeds for nonce generation.
random
)

Create a TlsCrypto using the passed in sources of entropy for key material and nonce generation.

public TlsCrypto

Returns:

a TlsCrypto.
create
(SecureRandom
SecureRandom for generating key material.
keyRandom
,
SecureRandom
SecureRandom for generating nonces.
nonceRandom
)

Create a TlsCrypto using the passed in sources of entropy for keys and nonces.

Method Detail

createback to summary
public TlsCrypto create(SecureRandom random)

Create a TlsCrypto using the passed in sources of entropy for key material and nonce generation.

Parameters
random:SecureRandom

SecureRandom for generating key material and seeds for nonce generation.

Returns:TlsCrypto

a TlsCrypto.

createback to summary
public TlsCrypto create(SecureRandom keyRandom, SecureRandom nonceRandom)

Create a TlsCrypto using the passed in sources of entropy for keys and nonces.

Parameters
keyRandom:SecureRandom

SecureRandom for generating key material.

nonceRandom:SecureRandom

SecureRandom for generating nonces.

Returns:TlsCrypto

a TlsCrypto.