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.IOExceptionpublic TlsAgreement createECDH()
TlsECDomaincreateECDH in interface TlsECDomainpublic java.security.PublicKey decodePublicKey(byte[] encoding)
throws java.io.IOException
java.io.IOExceptionpublic byte[] encodePublicKey(java.security.PublicKey publicKey)
throws java.io.IOException
java.io.IOExceptionpublic java.security.KeyPair generateKeyPair()