public class CipherOpt
extends java.lang.Object
Constructor and Description |
---|
CipherOpt(net.maidsafe.api.AppHandle appHandle)
Initialises the CipherOpt object
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<NativeHandle> |
getAsymmetricCipherOpt(NativeHandle publicEncryptKey)
Create a new Asymmetric CipherOpt handle
|
java.util.concurrent.CompletableFuture<NativeHandle> |
getPlainCipherOpt()
Create a new plain text CipherOpt handle
|
java.util.concurrent.CompletableFuture<NativeHandle> |
getSymmetricCipherOpt()
Create a new Symmetric CipherOpt handle
|
public CipherOpt(net.maidsafe.api.AppHandle appHandle)
appHandle
- App Handlepublic java.util.concurrent.CompletableFuture<NativeHandle> getPlainCipherOpt()
NativeHandle
instancepublic java.util.concurrent.CompletableFuture<NativeHandle> getSymmetricCipherOpt()
NativeHandle
instancepublic java.util.concurrent.CompletableFuture<NativeHandle> getAsymmetricCipherOpt(NativeHandle publicEncryptKey)
publicEncryptKey
- Public Encryption KeyNativeHandle
instance