Top Fields Constructors Methods
org.bouncycastle.tls.crypto.impl.jcajce

public Class JceX25519Domain

extends Object
implements TlsECDomain
Class Inheritance
All Implemented Interfaces
org.bouncycastle.tls.crypto.TlsECDomain
Imports
java.io.IOException, java.security.GeneralSecurityException, .KeyPair, .KeyPairGenerator, .PrivateKey, .PublicKey, org.bouncycastle.tls.AlertDescription, .TlsFatalAlert, org.bouncycastle.tls.crypto.TlsAgreement, .TlsCryptoException, .TlsECDomain

Field Summary

Modifier and TypeField and Description
protected final JcaTlsCrypto

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public JceTlsSecret
public TlsAgreement
createECDH()

Implements org.bouncycastle.tls.crypto.TlsECDomain.createECDH.

Return an agreement operator suitable for ephemeral EC Diffie-Hellman.
public PublicKey
decodePublicKey(byte[] encoding)

public byte[]
public KeyPair
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cryptoback to summary
protected final JcaTlsCrypto crypto

Constructor Detail

JceX25519Domainback to summary
public JceX25519Domain(JcaTlsCrypto crypto)

Method Detail

calculateECDHAgreementback to summary
public JceTlsSecret calculateECDHAgreement(PrivateKey privateKey, PublicKey publicKey) throws IOException
createECDHback to summary
public TlsAgreement createECDH()

Implements org.bouncycastle.tls.crypto.TlsECDomain.createECDH.

Doc from org.bouncycastle.tls.crypto.TlsECDomain.createECDH.

Return an agreement operator suitable for ephemeral EC Diffie-Hellman.

Returns:TlsAgreement

a key agreement operator.

decodePublicKeyback to summary
public PublicKey decodePublicKey(byte[] encoding) throws IOException
encodePublicKeyback to summary
public byte[] encodePublicKey(PublicKey publicKey) throws IOException
generateKeyPairback to summary
public KeyPair generateKeyPair()