public class JceX448Domain extends java.lang.Object implements TlsECDomain
Modifier and Type | Field and Description |
---|---|
protected JcaTlsCrypto |
crypto |
Constructor and Description |
---|
JceX448Domain(JcaTlsCrypto crypto) |
Modifier and Type | Method and Description |
---|---|
JceTlsSecret |
calculateECDHAgreement(java.security.PrivateKey privateKey,
java.security.PublicKey publicKey) |
TlsAgreement |
createECDH()
Return an agreement operator suitable for ephemeral EC Diffie-Hellman.
|
java.security.PublicKey |
decodePublicKey(byte[] encoding) |
byte[] |
encodePublicKey(java.security.PublicKey publicKey) |
java.security.KeyPair |
generateKeyPair() |
protected final JcaTlsCrypto crypto
public JceX448Domain(JcaTlsCrypto crypto)
public JceTlsSecret calculateECDHAgreement(java.security.PrivateKey privateKey, java.security.PublicKey publicKey) throws java.io.IOException
java.io.IOException
public TlsAgreement createECDH()
TlsECDomain
createECDH
in interface TlsECDomain
public java.security.PublicKey decodePublicKey(byte[] encoding) throws java.io.IOException
java.io.IOException
public byte[] encodePublicKey(java.security.PublicKey publicKey) throws java.io.IOException
java.io.IOException
public java.security.KeyPair generateKeyPair()