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 Type
    Method
    Description
    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

      TlsCrypto create(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(SecureRandom keyRandom, 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.