Example #1
0
 public static byte[] c4keypair_privateKeyData(C4KeyPair *x)
 {
     using (var retVal = NativeRaw.c4keypair_privateKeyData(x))
     {
         return(((FLSlice)retVal).ToArrayFast());
     }
 }
 public static void c4keypair_release(C4KeyPair *keyPair) => c4base_release(keyPair);
Example #3
0
 public static C4Cert *c4cert_createRequest(C4CertNameComponent *nameComponents, ulong nameCount, C4CertUsage certUsages, C4KeyPair *subjectKey, C4Error *outError)
 {
     return(NativeRaw.c4cert_createRequest(nameComponents, (UIntPtr)nameCount, certUsages, subjectKey, outError));
 }
Example #4
0
 public static extern FLSliceResult c4keypair_privateKeyData(C4KeyPair *x);
Example #5
0
 public static extern FLSliceResult c4keypair_publicKeyDigest(C4KeyPair *x);
Example #6
0
 public static extern C4Cert *c4cert_createRequest(C4CertNameComponent *nameComponents, UIntPtr nameCount, C4CertUsage certUsages, C4KeyPair *subjectKey, C4Error *outError);
Example #7
0
 public static extern bool c4keypair_removePersistent(C4KeyPair *x, C4Error *outError);
Example #8
0
 public static extern C4KeyPair *c4keypair_persistentWithPublicKey(C4KeyPair *x, C4Error *outError);
Example #9
0
 public static extern bool c4keypair_isPersistent(C4KeyPair *x);
Example #10
0
 public static extern bool c4keypair_hasPrivateKey(C4KeyPair *x);
Example #11
0
 public static extern C4Cert *c4cert_signRequest(C4Cert *certRequest, C4CertIssuerParameters * @params, C4KeyPair *issuerPrivateKey, C4Cert *issuerCert, C4Error *outError);
Example #12
0
 public static void *c4keypair_retain(C4KeyPair *keyPair) => c4base_retain(keyPair);