Class JceTlsMLKemDomain
java.lang.Object
org.bouncycastle.tls.crypto.impl.jcajce.JceTlsMLKemDomain
- All Implemented Interfaces:
TlsKemDomain
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final JcaTlsCrypto
protected final boolean
protected final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadoptLocalSecret
(byte[] secret) decapsulate
(PrivateKey privateKey, byte[] ciphertext) decodePublicKey
(byte[] encoding) org.bouncycastle.jcajce.SecretKeyWithEncapsulation
encapsulate
(PublicKey publicKey) byte[]
encodePublicKey
(PublicKey publicKey) boolean
isServer()
-
Field Details
-
crypto
-
kemName
-
isServer
protected final boolean isServer
-
-
Constructor Details
-
JceTlsMLKemDomain
-
-
Method Details
-
adoptLocalSecret
-
createKem
- Specified by:
createKem
in interfaceTlsKemDomain
-
decapsulate
-
decodePublicKey
- Throws:
IOException
-
encapsulate
-
encodePublicKey
- Throws:
IOException
-
generateKeyPair
-
isServer
public boolean isServer()
-