Class KEMKeyPair
-
- All Implemented Interfaces:
-
org.signal.libsignal.internal.NativeHandleGuard.Owner
public final class KEMKeyPair extends NativeHandleGuard.SimpleOwner
-
-
Field Summary
Fields Modifier and Type Field Description private final KEMPublicKeypublicKeyprivate final KEMSecretKeysecretKey
-
Constructor Summary
Constructors Constructor Description KEMKeyPair(Long nativeHandle)
-
Method Summary
Modifier and Type Method Description final KEMPublicKeygetPublicKey()final KEMSecretKeygetSecretKey()final static KEMKeyPairgenerate(KEMKeyType reserved)-
Methods inherited from class org.signal.libsignal.internal.NativeHandleGuard.SimpleOwner
unsafeNativeHandleWithoutGuard -
Methods inherited from class org.signal.libsignal.internal.NativeHandleGuard.Owner
guard, guardedMap, guardedMapChecked, guardedRun, guardedRunChecked -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
KEMKeyPair
KEMKeyPair(Long nativeHandle)
-
-
Method Detail
-
getPublicKey
final KEMPublicKey getPublicKey()
-
getSecretKey
final KEMSecretKey getSecretKey()
-
generate
final static KEMKeyPair generate(KEMKeyType reserved)
-
-
-
-