Example #1
0
 public static switch_status_t switch_rtp_add_dtls(SWIGTYPE_p_switch_rtp rtp_session, dtls_fingerprint_t local_fp, dtls_fingerprint_t remote_fp, dtls_type_t type) {
   switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_add_dtls(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), dtls_fingerprint_t.getCPtr(local_fp), dtls_fingerprint_t.getCPtr(remote_fp), (int)type);
   return ret;
 }
Example #2
0
 internal static HandleRef getCPtr(dtls_fingerprint_t obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #3
0
 public static int switch_core_cert_expand_fingerprint(dtls_fingerprint_t fp, string str) {
   int ret = freeswitchPINVOKE.switch_core_cert_expand_fingerprint(dtls_fingerprint_t.getCPtr(fp), str);
   return ret;
 }
Example #4
0
 public static int switch_core_cert_verify(dtls_fingerprint_t fp) {
   int ret = freeswitchPINVOKE.switch_core_cert_verify(dtls_fingerprint_t.getCPtr(fp));
   return ret;
 }
Example #5
0
 public static int switch_core_cert_gen_fingerprint(string prefix, dtls_fingerprint_t fp) {
   int ret = freeswitchPINVOKE.switch_core_cert_gen_fingerprint(prefix, dtls_fingerprint_t.getCPtr(fp));
   return ret;
 }