public class NativeC4KeyPair extends Object implements C4KeyPair.NativeImpl
| Constructor and Description |
|---|
NativeC4KeyPair() |
| Modifier and Type | Method and 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) |
public long nFromExternal(byte algorithm,
int keySizeInBits,
long context)
nFromExternal in interface C4KeyPair.NativeImpl@NonNull
public byte[] nGenerateSelfSignedCertificate(long c4KeyPair,
byte algorithm,
int keyBits,
@Nullable
String[][] subjectName,
byte usage,
long validityInSeconds)
throws LiteCoreException
nGenerateSelfSignedCertificate in interface C4KeyPair.NativeImplLiteCoreExceptionpublic void nFree(long hdl)
nFree in interface C4KeyPair.NativeImpl