1 17 18 package org.apache.tomcat.jni; 19 20 25 26 public class SSLSocket { 27 28 34 public static native int attach(long ctx, long sock) 35 throws Exception ; 36 37 41 public static native int handshake(long thesocket); 42 43 57 public static native int renegotiate(long thesocket); 58 59 66 public static native byte[] getInfoB(long sock, int id) 67 throws Exception ; 68 69 76 public static native String getInfoS(long sock, int id) 77 throws Exception ; 78 79 86 public static native int getInfoI(long sock, int id) 87 throws Exception ; 88 89 } 90 | Popular Tags |