public final class org.apache.tomcat.jni.SSLContext
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.tomcat.jni.SSLContext
super_class: java.lang.Object
{
public static final byte[] DEFAULT_SESSION_ID_CONTEXT;
descriptor: [B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.util.Map<java.lang.Long, org.apache.tomcat.jni.SSLContext$SNICallBack> sniCallBacks;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Long;Lorg/apache/tomcat/jni/SSLContext$SNICallBack;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 7
newarray 8
dup
iconst_0
bipush 100
bastore
dup
iconst_1
bipush 101
bastore
dup
iconst_2
bipush 102
bastore
dup
iconst_3
bipush 97
bastore
dup
iconst_4
bipush 117
bastore
dup
iconst_5
bipush 108
bastore
dup
bipush 6
bipush 116
bastore
1: putstatic org.apache.tomcat.jni.SSLContext.DEFAULT_SESSION_ID_CONTEXT:[B
2: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putstatic org.apache.tomcat.jni.SSLContext.sniCallBacks:Ljava/util/Map;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/jni/SSLContext;
public static native long make(long, int, int);
descriptor: (JII)J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
pool
protocol
mode
public static native int free(long);
descriptor: (J)I
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
public static native void setContextId(long, java.lang.String);
descriptor: (JLjava/lang/String;)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
id
public static native void setBIO(long, long, int);
descriptor: (JJI)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
bio
dir
public static native void setOptions(long, int);
descriptor: (JI)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
options
public static native int getOptions(long);
descriptor: (J)I
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
public static native void clearOptions(long, int);
descriptor: (JI)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
options
public static native java.lang.String[] getCiphers(long);
descriptor: (J)[Ljava/lang/String;
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
public static native void setQuietShutdown(long, boolean);
descriptor: (JZ)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
mode
public static native boolean setCipherSuite(long, java.lang.String);
descriptor: (JLjava/lang/String;)Z
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
ciphers
public static native boolean setCARevocation(long, java.lang.String, java.lang.String);
descriptor: (JLjava/lang/String;Ljava/lang/String;)Z
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
file
path
public static native boolean setCertificateChainFile(long, java.lang.String, boolean);
descriptor: (JLjava/lang/String;Z)Z
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
file
skipfirst
public static native boolean setCertificate(long, java.lang.String, java.lang.String, java.lang.String, int);
descriptor: (JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Z
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
cert
key
password
idx
public static native long setSessionCacheSize(long, long);
descriptor: (JJ)J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
size
public static native long getSessionCacheSize(long);
descriptor: (J)J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
public static native long setSessionCacheTimeout(long, long);
descriptor: (JJ)J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
timeoutSeconds
public static native long getSessionCacheTimeout(long);
descriptor: (J)J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
public static native long setSessionCacheMode(long, long);
descriptor: (JJ)J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
mode
public static native long getSessionCacheMode(long);
descriptor: (J)J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
public static native long sessionAccept(long);
descriptor: (J)J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
public static native long sessionAcceptGood(long);
descriptor: (J)J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
public static native long sessionAcceptRenegotiate(long);
descriptor: (J)J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
public static native long sessionCacheFull(long);
descriptor: (J)J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
public static native long sessionCbHits(long);
descriptor: (J)J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
public static native long sessionConnect(long);
descriptor: (J)J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
public static native long sessionConnectGood(long);
descriptor: (J)J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
public static native long sessionConnectRenegotiate(long);
descriptor: (J)J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
public static native long sessionHits(long);
descriptor: (J)J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
public static native long sessionMisses(long);
descriptor: (J)J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
public static native long sessionNumber(long);
descriptor: (J)J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
public static native long sessionTimeouts(long);
descriptor: (J)J
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
public static native void setSessionTicketKeys(long, byte[]);
descriptor: (J[B)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
keys
public static native boolean setCACertificate(long, java.lang.String, java.lang.String);
descriptor: (JLjava/lang/String;Ljava/lang/String;)Z
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
file
path
public static native void setRandom(long, java.lang.String);
descriptor: (JLjava/lang/String;)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
file
public static native void setShutdownType(long, int);
descriptor: (JI)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
type
public static native void setVerify(long, int, int);
descriptor: (JII)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
level
depth
public static native int setALPN(long, byte[], int);
descriptor: (J[BI)I
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
proto
len
public static long sniCallBack(long, java.lang.String);
descriptor: (JLjava/lang/String;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 2 0: getstatic org.apache.tomcat.jni.SSLContext.sniCallBacks:Ljava/util/Map;
lload 0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.jni.SSLContext$SNICallBack
astore 3
start local 3 1: aload 3
ifnonnull 3
2: lconst_0
lreturn
3: StackMap locals: org.apache.tomcat.jni.SSLContext$SNICallBack
StackMap stack:
aload 3
aload 2
invokeinterface org.apache.tomcat.jni.SSLContext$SNICallBack.getSslContext:(Ljava/lang/String;)J
lreturn
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 currentCtx J
0 4 2 sniHostName Ljava/lang/String;
1 4 3 sniCallBack Lorg/apache/tomcat/jni/SSLContext$SNICallBack;
MethodParameters:
Name Flags
currentCtx
sniHostName
public static void registerDefault(java.lang.Long, org.apache.tomcat.jni.SSLContext$SNICallBack);
descriptor: (Ljava/lang/Long;Lorg/apache/tomcat/jni/SSLContext$SNICallBack;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.tomcat.jni.SSLContext.sniCallBacks:Ljava/util/Map;
aload 0
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 defaultSSLContext Ljava/lang/Long;
0 2 1 sniCallBack Lorg/apache/tomcat/jni/SSLContext$SNICallBack;
MethodParameters:
Name Flags
defaultSSLContext
sniCallBack
public static void unregisterDefault(java.lang.Long);
descriptor: (Ljava/lang/Long;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.tomcat.jni.SSLContext.sniCallBacks:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 defaultSSLContext Ljava/lang/Long;
MethodParameters:
Name Flags
defaultSSLContext
public static native void setCertVerifyCallback(long, org.apache.tomcat.jni.CertificateVerifier);
descriptor: (JLorg/apache/tomcat/jni/CertificateVerifier;)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
verifier
public static void setNextProtos(long, java.lang.String);
descriptor: (JLjava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 2 0: lload 0
aload 2
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
iconst_1
invokestatic org.apache.tomcat.jni.SSLContext.setNpnProtos:(J[Ljava/lang/String;I)V
1: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ctx J
0 2 2 nextProtos Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
ctx
nextProtos
public static native void setNpnProtos(long, java.lang.String[], int);
descriptor: (J[Ljava/lang/String;I)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
nextProtos
selectorFailureBehavior
public static native void setAlpnProtos(long, java.lang.String[], int);
descriptor: (J[Ljava/lang/String;I)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
alpnProtos
selectorFailureBehavior
public static native void setTmpDH(long, java.lang.String);
descriptor: (JLjava/lang/String;)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
cert
public static native void setTmpECDHByCurveName(long, java.lang.String);
descriptor: (JLjava/lang/String;)V
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
ctx
curveName
public static native boolean setSessionIdContext(long, byte[]);
descriptor: (J[B)Z
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
sidCtx
public static native boolean setCertificateRaw(long, byte[], byte[], int);
descriptor: (J[B[BI)Z
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
cert
key
sslAidxRsa
public static native boolean addChainCertificateRaw(long, byte[]);
descriptor: (J[B)Z
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
cert
public static native boolean addClientCACertificateRaw(long, byte[]);
descriptor: (J[B)Z
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
ctx
cert
}
SourceFile: "SSLContext.java"
NestMembers:
org.apache.tomcat.jni.SSLContext$SNICallBack
InnerClasses:
public abstract SNICallBack = org.apache.tomcat.jni.SSLContext$SNICallBack of org.apache.tomcat.jni.SSLContext