Class AbstractTlsCrypto
java.lang.Object
org.bouncycastle.tls.crypto.impl.AbstractTlsCrypto
- All Implemented Interfaces:
TlsCrypto
- Direct Known Subclasses:
BcTlsCrypto, JcaTlsCrypto
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadoptSecret(TlsSecret secret) Adopt the passed in secret, creating a new copy of it.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TlsCrypto
createCertificate, createCertificate, createCipher, createDHDomain, createECDomain, createHash, createHMAC, createHMACForHash, createHybridSecret, createKemDomain, createNonceGenerator, createSecret, createSRP6Client, createSRP6Server, createSRP6VerifierGenerator, generateRSAPreMasterSecret, getSecureRandom, hasAnyStreamVerifiers, hasAnyStreamVerifiersLegacy, hasCryptoHashAlgorithm, hasCryptoSignatureAlgorithm, hasDHAgreement, hasECDHAgreement, hasEncryptionAlgorithm, hasHKDFAlgorithm, hasKemAgreement, hasMacAlgorithm, hasNamedGroup, hasRSAEncryption, hasSignatureAlgorithm, hasSignatureAndHashAlgorithm, hasSignatureScheme, hasSRPAuthentication, hkdfInit
-
Constructor Details
-
AbstractTlsCrypto
public AbstractTlsCrypto()
-
-
Method Details
-
adoptSecret
Description copied from interface:TlsCryptoAdopt the passed in secret, creating a new copy of it.- Specified by:
adoptSecretin interfaceTlsCrypto- Parameters:
secret- the secret to make a copy of.- Returns:
- a TlsSecret based on the original secret.
-