public final class sun.security.jgss.wrapper.NativeGSSFactory implements sun.security.jgss.spi.MechanismFactory
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.security.jgss.wrapper.NativeGSSFactory
super_class: java.lang.Object
{
sun.security.jgss.wrapper.GSSLibStub cStub;
descriptor: Lsun/security/jgss/wrapper/GSSLibStub;
flags: (0x0000)
private final sun.security.jgss.GSSCaller caller;
descriptor: Lsun/security/jgss/GSSCaller;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private sun.security.jgss.wrapper.GSSCredElement getCredFromSubject(sun.security.jgss.wrapper.GSSNameElement, boolean);
descriptor: (Lsun/security/jgss/wrapper/GSSNameElement;Z)Lsun/security/jgss/wrapper/GSSCredElement;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.security.jgss.wrapper.NativeGSSFactory.cStub:Lsun/security/jgss/wrapper/GSSLibStub;
invokevirtual sun.security.jgss.wrapper.GSSLibStub.getMech:()Lorg/ietf/jgss/Oid;
astore 3
start local 3 1: aload 1
aload 3
iload 2
ldc Lsun/security/jgss/wrapper/GSSCredElement;
2: invokestatic sun.security.jgss.GSSUtil.searchSubject:(Lsun/security/jgss/spi/GSSNameSpi;Lorg/ietf/jgss/Oid;ZLjava/lang/Class;)Ljava/util/Vector;
astore 4
start local 4 3: aload 4
ifnull 6
aload 4
invokevirtual java.util.Vector.isEmpty:()Z
ifeq 6
4: aload 0
getfield sun.security.jgss.wrapper.NativeGSSFactory.caller:Lsun/security/jgss/GSSCaller;
invokestatic sun.security.jgss.GSSUtil.useSubjectCredsOnly:(Lsun/security/jgss/GSSCaller;)Z
ifeq 6
5: new org.ietf.jgss.GSSException
dup
bipush 13
invokespecial org.ietf.jgss.GSSException.<init>:(I)V
athrow
6: StackMap locals: org.ietf.jgss.Oid java.util.Vector
StackMap stack:
aload 4
ifnull 7
aload 4
invokevirtual java.util.Vector.isEmpty:()Z
ifeq 8
7: StackMap locals:
StackMap stack:
aconst_null
goto 9
StackMap locals:
StackMap stack:
8: aload 4
invokevirtual java.util.Vector.firstElement:()Ljava/lang/Object;
checkcast sun.security.jgss.wrapper.GSSCredElement
9: StackMap locals:
StackMap stack: sun.security.jgss.wrapper.GSSCredElement
astore 5
start local 5 10: aload 5
ifnull 12
11: aload 5
invokevirtual sun.security.jgss.wrapper.GSSCredElement.doServicePermCheck:()V
12: StackMap locals: sun.security.jgss.wrapper.GSSCredElement
StackMap stack:
aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/security/jgss/wrapper/NativeGSSFactory;
0 13 1 name Lsun/security/jgss/wrapper/GSSNameElement;
0 13 2 initiate Z
1 13 3 mech Lorg/ietf/jgss/Oid;
3 13 4 creds Ljava/util/Vector<Lsun/security/jgss/wrapper/GSSCredElement;>;
10 13 5 result Lsun/security/jgss/wrapper/GSSCredElement;
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
name
initiate
public void <init>(sun.security.jgss.GSSCaller);
descriptor: (Lsun/security/jgss/GSSCaller;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield sun.security.jgss.wrapper.NativeGSSFactory.cStub:Lsun/security/jgss/wrapper/GSSLibStub;
2: aload 0
aload 1
putfield sun.security.jgss.wrapper.NativeGSSFactory.caller:Lsun/security/jgss/GSSCaller;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/jgss/wrapper/NativeGSSFactory;
0 4 1 caller Lsun/security/jgss/GSSCaller;
MethodParameters:
Name Flags
caller
public void setMech(org.ietf.jgss.Oid);
descriptor: (Lorg/ietf/jgss/Oid;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic sun.security.jgss.wrapper.GSSLibStub.getInstance:(Lorg/ietf/jgss/Oid;)Lsun/security/jgss/wrapper/GSSLibStub;
putfield sun.security.jgss.wrapper.NativeGSSFactory.cStub:Lsun/security/jgss/wrapper/GSSLibStub;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/jgss/wrapper/NativeGSSFactory;
0 2 1 mech Lorg/ietf/jgss/Oid;
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
mech
public sun.security.jgss.spi.GSSNameSpi getNameElement(java.lang.String, org.ietf.jgss.Oid);
descriptor: (Ljava/lang/String;Lorg/ietf/jgss/Oid;)Lsun/security/jgss/spi/GSSNameSpi;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 1
ldc "UTF-8"
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
2: StackMap locals:
StackMap stack: byte[]
astore 3
start local 3 3: new sun.security.jgss.wrapper.GSSNameElement
dup
aload 3
aload 2
aload 0
getfield sun.security.jgss.wrapper.NativeGSSFactory.cStub:Lsun/security/jgss/wrapper/GSSLibStub;
invokespecial sun.security.jgss.wrapper.GSSNameElement.<init>:([BLorg/ietf/jgss/Oid;Lsun/security/jgss/wrapper/GSSLibStub;)V
4: areturn
end local 3 5: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
astore 3
start local 3 6: new sun.security.jgss.GSSExceptionImpl
dup
bipush 11
aload 3
invokespecial sun.security.jgss.GSSExceptionImpl.<init>:(ILjava/lang/Exception;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/jgss/wrapper/NativeGSSFactory;
0 7 1 nameStr Ljava/lang/String;
0 7 2 nameType Lorg/ietf/jgss/Oid;
3 5 3 nameBytes [B
6 7 3 uee Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
0 4 5 Class java.io.UnsupportedEncodingException
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
nameStr
nameType
public sun.security.jgss.spi.GSSNameSpi getNameElement(byte[], org.ietf.jgss.Oid);
descriptor: ([BLorg/ietf/jgss/Oid;)Lsun/security/jgss/spi/GSSNameSpi;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new sun.security.jgss.wrapper.GSSNameElement
dup
aload 1
aload 2
aload 0
getfield sun.security.jgss.wrapper.NativeGSSFactory.cStub:Lsun/security/jgss/wrapper/GSSLibStub;
invokespecial sun.security.jgss.wrapper.GSSNameElement.<init>:([BLorg/ietf/jgss/Oid;Lsun/security/jgss/wrapper/GSSLibStub;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/wrapper/NativeGSSFactory;
0 1 1 name [B
0 1 2 nameType Lorg/ietf/jgss/Oid;
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
name
nameType
public sun.security.jgss.spi.GSSCredentialSpi getCredentialElement(sun.security.jgss.spi.GSSNameSpi, int, int, int);
descriptor: (Lsun/security/jgss/spi/GSSNameSpi;III)Lsun/security/jgss/spi/GSSCredentialSpi;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aconst_null
astore 5
start local 5 1: aload 1
ifnull 5
aload 1
instanceof sun.security.jgss.wrapper.GSSNameElement
ifne 5
2: aload 0
aload 1
invokeinterface sun.security.jgss.spi.GSSNameSpi.toString:()Ljava/lang/String;
aload 1
invokeinterface sun.security.jgss.spi.GSSNameSpi.getStringNameType:()Lorg/ietf/jgss/Oid;
invokevirtual sun.security.jgss.wrapper.NativeGSSFactory.getNameElement:(Ljava/lang/String;Lorg/ietf/jgss/Oid;)Lsun/security/jgss/spi/GSSNameSpi;
3: checkcast sun.security.jgss.wrapper.GSSNameElement
astore 5
4: goto 6
StackMap locals: sun.security.jgss.wrapper.GSSNameElement
StackMap stack:
5: aload 1
checkcast sun.security.jgss.wrapper.GSSNameElement
astore 5
6: StackMap locals:
StackMap stack:
iload 4
ifne 8
7: iconst_1
istore 4
8: StackMap locals:
StackMap stack:
aload 0
aload 5
iload 4
iconst_1
if_icmpne 9
iconst_1
goto 10
StackMap locals: sun.security.jgss.wrapper.NativeGSSFactory sun.security.jgss.spi.GSSNameSpi int int int sun.security.jgss.wrapper.GSSNameElement
StackMap stack: sun.security.jgss.wrapper.NativeGSSFactory sun.security.jgss.wrapper.GSSNameElement
9: iconst_0
StackMap locals: sun.security.jgss.wrapper.NativeGSSFactory sun.security.jgss.spi.GSSNameSpi int int int sun.security.jgss.wrapper.GSSNameElement
StackMap stack: sun.security.jgss.wrapper.NativeGSSFactory sun.security.jgss.wrapper.GSSNameElement int
10: invokevirtual sun.security.jgss.wrapper.NativeGSSFactory.getCredFromSubject:(Lsun/security/jgss/wrapper/GSSNameElement;Z)Lsun/security/jgss/wrapper/GSSCredElement;
11: astore 6
start local 6 12: aload 6
ifnonnull 28
13: iload 4
iconst_1
if_icmpne 18
14: new sun.security.jgss.wrapper.GSSCredElement
dup
aload 5
iload 2
15: iload 4
aload 0
getfield sun.security.jgss.wrapper.NativeGSSFactory.cStub:Lsun/security/jgss/wrapper/GSSLibStub;
16: invokespecial sun.security.jgss.wrapper.GSSCredElement.<init>:(Lsun/security/jgss/wrapper/GSSNameElement;IILsun/security/jgss/wrapper/GSSLibStub;)V
astore 6
17: goto 28
StackMap locals: sun.security.jgss.wrapper.GSSCredElement
StackMap stack:
18: iload 4
iconst_2
if_icmpne 25
19: aload 5
ifnonnull 21
20: getstatic sun.security.jgss.wrapper.GSSNameElement.DEF_ACCEPTOR:Lsun/security/jgss/wrapper/GSSNameElement;
astore 5
21: StackMap locals:
StackMap stack:
new sun.security.jgss.wrapper.GSSCredElement
dup
aload 5
iload 3
22: iload 4
aload 0
getfield sun.security.jgss.wrapper.NativeGSSFactory.cStub:Lsun/security/jgss/wrapper/GSSLibStub;
23: invokespecial sun.security.jgss.wrapper.GSSCredElement.<init>:(Lsun/security/jgss/wrapper/GSSNameElement;IILsun/security/jgss/wrapper/GSSLibStub;)V
astore 6
24: goto 28
25: StackMap locals:
StackMap stack:
new org.ietf.jgss.GSSException
dup
bipush 11
iconst_m1
26: ldc "Unknown usage mode requested"
27: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
athrow
28: StackMap locals:
StackMap stack:
aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lsun/security/jgss/wrapper/NativeGSSFactory;
0 29 1 name Lsun/security/jgss/spi/GSSNameSpi;
0 29 2 initLifetime I
0 29 3 acceptLifetime I
0 29 4 usage I
1 29 5 nname Lsun/security/jgss/wrapper/GSSNameElement;
12 29 6 credElement Lsun/security/jgss/wrapper/GSSCredElement;
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
name
initLifetime
acceptLifetime
usage
public sun.security.jgss.spi.GSSContextSpi getMechanismContext(sun.security.jgss.spi.GSSNameSpi, sun.security.jgss.spi.GSSCredentialSpi, int);
descriptor: (Lsun/security/jgss/spi/GSSNameSpi;Lsun/security/jgss/spi/GSSCredentialSpi;I)Lsun/security/jgss/spi/GSSContextSpi;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: new org.ietf.jgss.GSSException
dup
iconst_3
invokespecial org.ietf.jgss.GSSException.<init>:(I)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
instanceof sun.security.jgss.wrapper.GSSNameElement
ifne 5
3: aload 0
aload 1
invokeinterface sun.security.jgss.spi.GSSNameSpi.toString:()Ljava/lang/String;
aload 1
invokeinterface sun.security.jgss.spi.GSSNameSpi.getStringNameType:()Lorg/ietf/jgss/Oid;
invokevirtual sun.security.jgss.wrapper.NativeGSSFactory.getNameElement:(Ljava/lang/String;Lorg/ietf/jgss/Oid;)Lsun/security/jgss/spi/GSSNameSpi;
4: checkcast sun.security.jgss.wrapper.GSSNameElement
astore 1
5: StackMap locals:
StackMap stack:
aload 2
ifnonnull 8
6: aload 0
aconst_null
iconst_1
invokevirtual sun.security.jgss.wrapper.NativeGSSFactory.getCredFromSubject:(Lsun/security/jgss/wrapper/GSSNameElement;Z)Lsun/security/jgss/wrapper/GSSCredElement;
astore 2
7: goto 10
StackMap locals:
StackMap stack:
8: aload 2
instanceof sun.security.jgss.wrapper.GSSCredElement
ifne 10
9: new org.ietf.jgss.GSSException
dup
bipush 13
invokespecial org.ietf.jgss.GSSException.<init>:(I)V
athrow
10: StackMap locals:
StackMap stack:
new sun.security.jgss.wrapper.NativeGSSContext
dup
aload 1
checkcast sun.security.jgss.wrapper.GSSNameElement
11: aload 2
checkcast sun.security.jgss.wrapper.GSSCredElement
12: iload 3
aload 0
getfield sun.security.jgss.wrapper.NativeGSSFactory.cStub:Lsun/security/jgss/wrapper/GSSLibStub;
13: invokespecial sun.security.jgss.wrapper.NativeGSSContext.<init>:(Lsun/security/jgss/wrapper/GSSNameElement;Lsun/security/jgss/wrapper/GSSCredElement;ILsun/security/jgss/wrapper/GSSLibStub;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/security/jgss/wrapper/NativeGSSFactory;
0 14 1 peer Lsun/security/jgss/spi/GSSNameSpi;
0 14 2 myCred Lsun/security/jgss/spi/GSSCredentialSpi;
0 14 3 lifetime I
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
peer
myCred
lifetime
public sun.security.jgss.spi.GSSContextSpi getMechanismContext(sun.security.jgss.spi.GSSCredentialSpi);
descriptor: (Lsun/security/jgss/spi/GSSCredentialSpi;)Lsun/security/jgss/spi/GSSContextSpi;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
aconst_null
iconst_0
invokevirtual sun.security.jgss.wrapper.NativeGSSFactory.getCredFromSubject:(Lsun/security/jgss/wrapper/GSSNameElement;Z)Lsun/security/jgss/wrapper/GSSCredElement;
astore 1
2: goto 5
StackMap locals:
StackMap stack:
3: aload 1
instanceof sun.security.jgss.wrapper.GSSCredElement
ifne 5
4: new org.ietf.jgss.GSSException
dup
bipush 13
invokespecial org.ietf.jgss.GSSException.<init>:(I)V
athrow
5: StackMap locals:
StackMap stack:
new sun.security.jgss.wrapper.NativeGSSContext
dup
aload 1
checkcast sun.security.jgss.wrapper.GSSCredElement
aload 0
getfield sun.security.jgss.wrapper.NativeGSSFactory.cStub:Lsun/security/jgss/wrapper/GSSLibStub;
invokespecial sun.security.jgss.wrapper.NativeGSSContext.<init>:(Lsun/security/jgss/wrapper/GSSCredElement;Lsun/security/jgss/wrapper/GSSLibStub;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/jgss/wrapper/NativeGSSFactory;
0 6 1 myCred Lsun/security/jgss/spi/GSSCredentialSpi;
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
myCred
public sun.security.jgss.spi.GSSContextSpi getMechanismContext(byte[]);
descriptor: ([B)Lsun/security/jgss/spi/GSSContextSpi;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.jgss.wrapper.NativeGSSFactory.cStub:Lsun/security/jgss/wrapper/GSSLibStub;
aload 1
invokevirtual sun.security.jgss.wrapper.GSSLibStub.importContext:([B)Lsun/security/jgss/wrapper/NativeGSSContext;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/wrapper/NativeGSSFactory;
0 1 1 exportedContext [B
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
exportedContext
public final org.ietf.jgss.Oid getMechanismOid();
descriptor: ()Lorg/ietf/jgss/Oid;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.wrapper.NativeGSSFactory.cStub:Lsun/security/jgss/wrapper/GSSLibStub;
invokevirtual sun.security.jgss.wrapper.GSSLibStub.getMech:()Lorg/ietf/jgss/Oid;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/wrapper/NativeGSSFactory;
public java.security.Provider getProvider();
descriptor: ()Ljava/security/Provider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.security.jgss.wrapper.SunNativeProvider.INSTANCE:Ljava/security/Provider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/wrapper/NativeGSSFactory;
public org.ietf.jgss.Oid[] getNameTypes();
descriptor: ()[Lorg/ietf/jgss/Oid;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.wrapper.NativeGSSFactory.cStub:Lsun/security/jgss/wrapper/GSSLibStub;
invokevirtual sun.security.jgss.wrapper.GSSLibStub.inquireNamesForMech:()[Lorg/ietf/jgss/Oid;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/jgss/wrapper/NativeGSSFactory;
Exceptions:
throws org.ietf.jgss.GSSException
}
SourceFile: "NativeGSSFactory.java"