static bool n_SetPassphrase_arrayB(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Jcraft.Jsch.IIdentity __this = global::Java.Lang.Object.GetObject <global::Com.Jcraft.Jsch.IIdentity> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); byte[] p0 = (byte[])JNIEnv.GetArray(native_p0, JniHandleOwnership.DoNotTransfer, typeof(byte)); bool __ret = __this.SetPassphrase(p0); if (p0 != null) { JNIEnv.CopyArray(p0, native_p0); } return(__ret); }
static IntPtr n_GetPublicKeyBlob(IntPtr jnienv, IntPtr native__this) { global::Com.Jcraft.Jsch.IIdentity __this = global::Java.Lang.Object.GetObject <global::Com.Jcraft.Jsch.IIdentity> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewArray(__this.GetPublicKeyBlob())); }
static void n_Clear(IntPtr jnienv, IntPtr native__this) { global::Com.Jcraft.Jsch.IIdentity __this = global::Java.Lang.Object.GetObject <global::Com.Jcraft.Jsch.IIdentity> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.Clear(); }
static bool n_Decrypt(IntPtr jnienv, IntPtr native__this) { global::Com.Jcraft.Jsch.IIdentity __this = global::Java.Lang.Object.GetObject <global::Com.Jcraft.Jsch.IIdentity> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.Decrypt()); }
static IntPtr n_GetName(IntPtr jnienv, IntPtr native__this) { global::Com.Jcraft.Jsch.IIdentity __this = global::Java.Lang.Object.GetObject <global::Com.Jcraft.Jsch.IIdentity> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.Name)); }