Class NativeC4KeyPair
- java.lang.Object
-
- com.couchbase.lite.internal.core.impl.NativeC4KeyPair
-
- All Implemented Interfaces:
C4KeyPair.NativeImpl
public class NativeC4KeyPair extends Object implements C4KeyPair.NativeImpl
The C4Listener companion object
-
-
Constructor Summary
Constructors Constructor Description NativeC4KeyPair()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
nFree(long hdl)
long
nFromExternal(byte algorithm, int keySizeInBits, long context)
byte[]
nGenerateSelfSignedCertificate(long c4KeyPair, byte algorithm, int keyBits, String[][] subjectName, byte usage, long validityInSeconds)
-
-
-
Method Detail
-
nFromExternal
public long nFromExternal(byte algorithm, int keySizeInBits, long context)
- Specified by:
nFromExternal
in interfaceC4KeyPair.NativeImpl
-
nGenerateSelfSignedCertificate
@NonNull public byte[] nGenerateSelfSignedCertificate(long c4KeyPair, byte algorithm, int keyBits, @Nullable String[][] subjectName, byte usage, long validityInSeconds) throws LiteCoreException
- Specified by:
nGenerateSelfSignedCertificate
in interfaceC4KeyPair.NativeImpl
- Throws:
LiteCoreException
-
nFree
public void nFree(long hdl)
- Specified by:
nFree
in interfaceC4KeyPair.NativeImpl
-
-