Class AbstractTlsCrypto

java.lang.Object
org.bouncycastle.tls.crypto.impl.AbstractTlsCrypto
All Implemented Interfaces:
TlsCrypto
Direct Known Subclasses:
BcTlsCrypto, JcaTlsCrypto

public abstract class AbstractTlsCrypto extends Object implements TlsCrypto
Base class for a TlsCrypto implementation that provides some needed methods from elsewhere in the impl package.
  • Constructor Details

    • AbstractTlsCrypto

      public AbstractTlsCrypto()
  • Method Details

    • adoptSecret

      public TlsSecret adoptSecret(TlsSecret secret)
      Description copied from interface: TlsCrypto
      Adopt the passed in secret, creating a new copy of it.
      Specified by:
      adoptSecret in interface TlsCrypto
      Parameters:
      secret - the secret to make a copy of.
      Returns:
      a TlsSecret based on the original secret.