Top Description Constructors Methods
org.bouncycastle.tls.crypto.impl

public abstract Class AbstractTlsCrypto

extends Object
implements TlsCrypto
Class Inheritance
All Implemented Interfaces
org.bouncycastle.tls.crypto.TlsCrypto
Known Direct Subclasses
org.bouncycastle.tls.crypto.impl.bc.BcTlsCrypto, org.bouncycastle.tls.crypto.impl.jcajce.JcaTlsCrypto
Imports
org.bouncycastle.tls.crypto.TlsCrypto, .TlsSecret

Base class for a TlsCrypto implementation that provides some needed methods from elsewhere in the impl package.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public TlsSecret
adoptSecret(TlsSecret
the secret to make a copy of.
secret
)

Implements org.bouncycastle.tls.crypto.TlsCrypto.adoptSecret.

Adopt the passed in secret, creating a new copy of it.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractTlsCryptoback to summary
public AbstractTlsCrypto()

Method Detail

adoptSecretback to summary
public TlsSecret adoptSecret(TlsSecret secret)

Implements org.bouncycastle.tls.crypto.TlsCrypto.adoptSecret.

Doc from org.bouncycastle.tls.crypto.TlsCrypto.adoptSecret.

Adopt the passed in secret, creating a new copy of it.

Parameters
secret:TlsSecret

the secret to make a copy of.

Returns:TlsSecret

a TlsSecret based on the original secret.