Beispiel #1
0
 static void n_Init_IarrayBarrayB(IntPtr jnienv, IntPtr native__this, int p0, IntPtr native_p1, IntPtr native_p2)
 {
     global::Com.Jcraft.Jsch.Jce.AES128CBC __this = global::Java.Lang.Object.GetObject <global::Com.Jcraft.Jsch.Jce.AES128CBC> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     byte[] p1 = (byte[])JNIEnv.GetArray(native_p1, JniHandleOwnership.DoNotTransfer, typeof(byte));
     byte[] p2 = (byte[])JNIEnv.GetArray(native_p2, JniHandleOwnership.DoNotTransfer, typeof(byte));
     __this.Init(p0, p1, p2);
     if (p1 != null)
     {
         JNIEnv.CopyArray(p1, native_p1);
     }
     if (p2 != null)
     {
         JNIEnv.CopyArray(p2, native_p2);
     }
 }
Beispiel #2
0
 static void n_Update_arrayBIIarrayBI(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, int p2, IntPtr native_p3, int p4)
 {
     global::Com.Jcraft.Jsch.Jce.AES128CBC __this = global::Java.Lang.Object.GetObject <global::Com.Jcraft.Jsch.Jce.AES128CBC> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     byte[] p0 = (byte[])JNIEnv.GetArray(native_p0, JniHandleOwnership.DoNotTransfer, typeof(byte));
     byte[] p3 = (byte[])JNIEnv.GetArray(native_p3, JniHandleOwnership.DoNotTransfer, typeof(byte));
     __this.Update(p0, p1, p2, p3, p4);
     if (p0 != null)
     {
         JNIEnv.CopyArray(p0, native_p0);
     }
     if (p3 != null)
     {
         JNIEnv.CopyArray(p3, native_p3);
     }
 }
Beispiel #3
0
 static int n_GetBlockSize(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Jcraft.Jsch.Jce.AES128CBC __this = global::Java.Lang.Object.GetObject <global::Com.Jcraft.Jsch.Jce.AES128CBC> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.BlockSize);
 }
Beispiel #4
0
 static bool n_IsCBC(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Jcraft.Jsch.Jce.AES128CBC __this = global::Java.Lang.Object.GetObject <global::Com.Jcraft.Jsch.Jce.AES128CBC> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.IsCBC);
 }