class sun.security.jgss.krb5.WrapToken_v2 extends sun.security.jgss.krb5.MessageToken_v2
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.jgss.krb5.WrapToken_v2
super_class: sun.security.jgss.krb5.MessageToken_v2
{
byte[] confounder;
descriptor: [B
flags: (0x0000)
private final boolean privacy;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(sun.security.jgss.krb5.Krb5Context, byte[], int, int, org.ietf.jgss.MessageProp);
descriptor: (Lsun/security/jgss/krb5/Krb5Context;[BIILorg/ietf/jgss/MessageProp;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
sipush 1284
aload 1
1: aload 2
iload 3
iload 4
aload 5
invokespecial sun.security.jgss.krb5.MessageToken_v2.<init>:(ILsun/security/jgss/krb5/Krb5Context;[BIILorg/ietf/jgss/MessageProp;)V
2: aload 0
aconst_null
putfield sun.security.jgss.krb5.WrapToken_v2.confounder:[B
3: aload 0
aload 5
invokevirtual org.ietf.jgss.MessageProp.getPrivacy:()Z
putfield sun.security.jgss.krb5.WrapToken_v2.privacy:Z
4: return
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 5 0 this Lsun/security/jgss/krb5/WrapToken_v2;
0 5 1 context Lsun/security/jgss/krb5/Krb5Context;
0 5 2 tokenBytes [B
0 5 3 tokenOffset I
0 5 4 tokenLen I
0 5 5 prop Lorg/ietf/jgss/MessageProp;
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
context
tokenBytes
tokenOffset
tokenLen
prop
public void <init>(sun.security.jgss.krb5.Krb5Context, java.io.InputStream, org.ietf.jgss.MessageProp);
descriptor: (Lsun/security/jgss/krb5/Krb5Context;Ljava/io/InputStream;Lorg/ietf/jgss/MessageProp;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
sipush 1284
aload 1
aload 2
aload 3
invokespecial sun.security.jgss.krb5.MessageToken_v2.<init>:(ILsun/security/jgss/krb5/Krb5Context;Ljava/io/InputStream;Lorg/ietf/jgss/MessageProp;)V
1: aload 0
aconst_null
putfield sun.security.jgss.krb5.WrapToken_v2.confounder:[B
2: aload 0
aload 3
invokevirtual org.ietf.jgss.MessageProp.getPrivacy:()Z
putfield sun.security.jgss.krb5.WrapToken_v2.privacy:Z
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/jgss/krb5/WrapToken_v2;
0 4 1 context Lsun/security/jgss/krb5/Krb5Context;
0 4 2 is Ljava/io/InputStream;
0 4 3 prop Lorg/ietf/jgss/MessageProp;
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
context
is
prop
public byte[] getData();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.security.jgss.krb5.WrapToken_v2.tokenDataLen:I
newarray 8
astore 1
start local 1 1: aload 0
aload 1
iconst_0
invokevirtual sun.security.jgss.krb5.WrapToken_v2.getData:([BI)I
istore 2
start local 2 2: aload 1
iload 2
invokestatic java.util.Arrays.copyOf:([BI)[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/jgss/krb5/WrapToken_v2;
1 3 1 temp [B
2 3 2 len I
Exceptions:
throws org.ietf.jgss.GSSException
public int getData(byte[], int);
descriptor: ([BI)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.security.jgss.krb5.WrapToken_v2.privacy:Z
ifeq 9
1: aload 0
getfield sun.security.jgss.krb5.WrapToken_v2.cipherHelper:Lsun/security/jgss/krb5/CipherHelper;
aload 0
aload 0
getfield sun.security.jgss.krb5.WrapToken_v2.tokenData:[B
iconst_0
aload 0
getfield sun.security.jgss.krb5.WrapToken_v2.tokenDataLen:I
2: aload 1
iload 2
aload 0
invokevirtual sun.security.jgss.krb5.WrapToken_v2.getKeyUsage:()I
3: invokevirtual sun.security.jgss.krb5.CipherHelper.decryptData:(Lsun/security/jgss/krb5/WrapToken_v2;[BII[BII)V
4: aload 0
getfield sun.security.jgss.krb5.WrapToken_v2.tokenDataLen:I
bipush 16
isub
5: bipush 16
6: isub
7: aload 0
getfield sun.security.jgss.krb5.WrapToken_v2.cipherHelper:Lsun/security/jgss/krb5/CipherHelper;
invokevirtual sun.security.jgss.krb5.CipherHelper.getChecksumLength:()I
8: isub
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.jgss.krb5.WrapToken_v2.tokenDataLen:I
aload 0
getfield sun.security.jgss.krb5.WrapToken_v2.cipherHelper:Lsun/security/jgss/krb5/CipherHelper;
invokevirtual sun.security.jgss.krb5.CipherHelper.getChecksumLength:()I
isub
istore 3
start local 3 10: aload 0
getfield sun.security.jgss.krb5.WrapToken_v2.tokenData:[B
iconst_0
11: aload 1
iload 2
12: iload 3
13: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
14: aload 0
aload 1
iload 2
iload 3
invokevirtual sun.security.jgss.krb5.WrapToken_v2.verifySign:([BII)Z
ifne 18
15: new org.ietf.jgss.GSSException
dup
bipush 6
iconst_m1
16: ldc "Corrupt checksum in Wrap token"
17: invokespecial org.ietf.jgss.GSSException.<init>:(IILjava/lang/String;)V
athrow
18: StackMap locals: int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/security/jgss/krb5/WrapToken_v2;
0 19 1 dataBuf [B
0 19 2 dataBufOffset I
10 19 3 data_length I
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
dataBuf
dataBufOffset
public void <init>(sun.security.jgss.krb5.Krb5Context, org.ietf.jgss.MessageProp, byte[], int, int);
descriptor: (Lsun/security/jgss/krb5/Krb5Context;Lorg/ietf/jgss/MessageProp;[BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
sipush 1284
aload 1
invokespecial sun.security.jgss.krb5.MessageToken_v2.<init>:(ILsun/security/jgss/krb5/Krb5Context;)V
1: aload 0
aconst_null
putfield sun.security.jgss.krb5.WrapToken_v2.confounder:[B
2: aload 0
bipush 16
invokestatic sun.security.krb5.Confounder.bytes:(I)[B
putfield sun.security.jgss.krb5.WrapToken_v2.confounder:[B
3: aload 0
aload 2
aload 3
iload 4
iload 5
invokevirtual sun.security.jgss.krb5.WrapToken_v2.genSignAndSeqNumber:(Lorg/ietf/jgss/MessageProp;[BII)V
4: aload 1
invokevirtual sun.security.jgss.krb5.Krb5Context.getConfState:()Z
ifne 6
5: aload 2
iconst_0
invokevirtual org.ietf.jgss.MessageProp.setPrivacy:(Z)V
6: StackMap locals: sun.security.jgss.krb5.WrapToken_v2 sun.security.jgss.krb5.Krb5Context org.ietf.jgss.MessageProp byte[] int int
StackMap stack:
aload 0
aload 2
invokevirtual org.ietf.jgss.MessageProp.getPrivacy:()Z
putfield sun.security.jgss.krb5.WrapToken_v2.privacy:Z
7: aload 0
getfield sun.security.jgss.krb5.WrapToken_v2.privacy:Z
ifne 12
8: aload 0
iload 5
aload 0
getfield sun.security.jgss.krb5.WrapToken_v2.checksum:[B
arraylength
iadd
newarray 8
putfield sun.security.jgss.krb5.WrapToken_v2.tokenData:[B
9: aload 3
iload 4
aload 0
getfield sun.security.jgss.krb5.WrapToken_v2.tokenData:[B
iconst_0
iload 5
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: aload 0
getfield sun.security.jgss.krb5.WrapToken_v2.checksum:[B
iconst_0
aload 0
getfield sun.security.jgss.krb5.WrapToken_v2.tokenData:[B
iload 5
aload 0
getfield sun.security.jgss.krb5.WrapToken_v2.checksum:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: goto 15
12: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.security.jgss.krb5.WrapToken_v2.cipherHelper:Lsun/security/jgss/krb5/CipherHelper;
aload 0
aload 0
getfield sun.security.jgss.krb5.WrapToken_v2.confounder:[B
aload 0
invokevirtual sun.security.jgss.krb5.WrapToken_v2.getTokenHeader:()[B
13: aload 3
iload 4
iload 5
aload 0
invokevirtual sun.security.jgss.krb5.WrapToken_v2.getKeyUsage:()I
14: invokevirtual sun.security.jgss.krb5.CipherHelper.encryptData:(Lsun/security/jgss/krb5/WrapToken_v2;[B[B[BIII)[B
putfield sun.security.jgss.krb5.WrapToken_v2.tokenData:[B
15: StackMap locals:
StackMap stack:
return
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 16 0 this Lsun/security/jgss/krb5/WrapToken_v2;
0 16 1 context Lsun/security/jgss/krb5/Krb5Context;
0 16 2 prop Lorg/ietf/jgss/MessageProp;
0 16 3 dataBytes [B
0 16 4 dataOffset I
0 16 5 dataLen I
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
context
prop
dataBytes
dataOffset
dataLen
public void encode(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.security.jgss.krb5.WrapToken_v2.encodeHeader:(Ljava/io/OutputStream;)V
1: aload 1
aload 0
getfield sun.security.jgss.krb5.WrapToken_v2.tokenData:[B
invokevirtual java.io.OutputStream.write:([B)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/jgss/krb5/WrapToken_v2;
0 3 1 os Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
os
public byte[] encode();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.io.ByteArrayOutputStream
dup
1: bipush 16
aload 0
getfield sun.security.jgss.krb5.WrapToken_v2.tokenData:[B
arraylength
iadd
2: invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
astore 1
start local 1 3: aload 0
aload 1
invokevirtual sun.security.jgss.krb5.WrapToken_v2.encode:(Ljava/io/OutputStream;)V
4: aload 1
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/jgss/krb5/WrapToken_v2;
3 5 1 bos Ljava/io/ByteArrayOutputStream;
Exceptions:
throws java.io.IOException
public int encode(byte[], int);
descriptor: ([BI)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.security.jgss.krb5.WrapToken_v2.encode:()[B
astore 3
start local 3 1: aload 3
iconst_0
aload 1
iload 2
aload 3
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 3
arraylength
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/jgss/krb5/WrapToken_v2;
0 3 1 outToken [B
0 3 2 offset I
1 3 3 token [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
outToken
offset
static int getSizeLimit(int, boolean, int, sun.security.jgss.krb5.CipherHelper);
descriptor: (IZILsun/security/jgss/krb5/CipherHelper;)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic sun.security.jgss.krb5.WrapToken_v2.OID:Lsun/security/util/ObjectIdentifier;
iload 2
invokestatic sun.security.jgss.GSSHeader.getMaxMechTokenSize:(Lsun/security/util/ObjectIdentifier;I)I
1: bipush 16
aload 3
invokevirtual sun.security.jgss.krb5.CipherHelper.getChecksumLength:()I
iadd
bipush 16
iadd
2: isub
3: bipush 8
4: isub
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 qop I
0 5 1 confReq Z
0 5 2 maxTokenSize I
0 5 3 ch Lsun/security/jgss/krb5/CipherHelper;
Exceptions:
throws org.ietf.jgss.GSSException
MethodParameters:
Name Flags
qop
confReq
maxTokenSize
ch
}
SourceFile: "WrapToken_v2.java"