class sun.security.pkcs11.Secmod$TrustAttributes
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.pkcs11.Secmod$TrustAttributes
super_class: java.lang.Object
{
final long handle;
descriptor: J
flags: (0x0010) ACC_FINAL
final long clientAuth;
descriptor: J
flags: (0x0010) ACC_FINAL
final long serverAuth;
descriptor: J
flags: (0x0010) ACC_FINAL
final long codeSigning;
descriptor: J
flags: (0x0010) ACC_FINAL
final long emailProtection;
descriptor: J
flags: (0x0010) ACC_FINAL
final byte[] shaHash;
descriptor: [B
flags: (0x0010) ACC_FINAL
private static volatile int[] $SWITCH_TABLE$sun$security$pkcs11$Secmod$TrustType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
void <init>(sun.security.pkcs11.Token, java.security.cert.X509Certificate, sun.security.pkcs11.Secmod$Bytes, long);
descriptor: (Lsun/security/pkcs11/Token;Ljava/security/cert/X509Certificate;Lsun/security/pkcs11/Secmod$Bytes;J)V
flags: (0x0000)
Code:
stack=9, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aconst_null
astore 6
start local 6 2: aload 1
invokevirtual sun.security.pkcs11.Token.getOpSession:()Lsun/security/pkcs11/Session;
astore 6
3: bipush 10
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
iconst_0
4: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
lconst_1
iconst_1
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JZ)V
aastore
dup
iconst_1
5: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
lconst_0
ldc 3461563219
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JJ)V
aastore
dup
iconst_2
6: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 3461571416
lload 4
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JJ)V
aastore
dup
iconst_3
7: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 3461571418
lload 4
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JJ)V
aastore
dup
iconst_4
8: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 3461571419
lload 4
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JJ)V
aastore
dup
iconst_5
9: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 3461571417
lload 4
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JJ)V
aastore
dup
bipush 6
10: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 3461571508
aload 3
getfield sun.security.pkcs11.Secmod$Bytes.b:[B
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JLjava/lang/Object;)V
aastore
dup
bipush 7
11: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 3461571509
aload 2
ldc "MD5"
invokestatic sun.security.pkcs11.Secmod.getDigest:(Ljava/security/cert/X509Certificate;Ljava/lang/String;)[B
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JLjava/lang/Object;)V
aastore
dup
bipush 8
12: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 129
aload 2
invokevirtual java.security.cert.X509Certificate.getIssuerX500Principal:()Ljavax/security/auth/x500/X500Principal;
invokevirtual javax.security.auth.x500.X500Principal.getEncoded:()[B
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JLjava/lang/Object;)V
aastore
dup
bipush 9
13: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 130
aload 2
invokevirtual java.security.cert.X509Certificate.getSerialNumber:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.toByteArray:()[B
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(JLjava/lang/Object;)V
aastore
14: astore 7
start local 7 15: aload 0
aload 1
getfield sun.security.pkcs11.Token.p11:Lsun/security/pkcs11/wrapper/PKCS11;
aload 6
invokevirtual sun.security.pkcs11.Session.id:()J
aload 7
invokevirtual sun.security.pkcs11.wrapper.PKCS11.C_CreateObject:(J[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)J
putfield sun.security.pkcs11.Secmod$TrustAttributes.handle:J
16: aload 0
aload 3
getfield sun.security.pkcs11.Secmod$Bytes.b:[B
putfield sun.security.pkcs11.Secmod$TrustAttributes.shaHash:[B
17: aload 0
lload 4
putfield sun.security.pkcs11.Secmod$TrustAttributes.clientAuth:J
18: aload 0
lload 4
putfield sun.security.pkcs11.Secmod$TrustAttributes.serverAuth:J
19: aload 0
lload 4
putfield sun.security.pkcs11.Secmod$TrustAttributes.codeSigning:J
20: aload 0
lload 4
putfield sun.security.pkcs11.Secmod$TrustAttributes.emailProtection:J
end local 7 21: goto 27
StackMap locals: sun.security.pkcs11.Secmod$TrustAttributes sun.security.pkcs11.Token java.security.cert.X509Certificate sun.security.pkcs11.Secmod$Bytes long sun.security.pkcs11.Session
StackMap stack: sun.security.pkcs11.wrapper.PKCS11Exception
22: astore 7
start local 7 23: new java.security.ProviderException
dup
ldc "Could not create trust object"
aload 7
invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 7 24: StackMap locals:
StackMap stack: java.lang.Throwable
astore 8
25: aload 1
aload 6
invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
pop
26: aload 8
athrow
27: StackMap locals:
StackMap stack:
aload 1
aload 6
invokevirtual sun.security.pkcs11.Token.releaseSession:(Lsun/security/pkcs11/Session;)Lsun/security/pkcs11/Session;
pop
28: return
end local 6 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/pkcs11/Secmod$TrustAttributes;
0 29 1 token Lsun/security/pkcs11/Token;
0 29 2 cert Ljava/security/cert/X509Certificate;
0 29 3 bytes Lsun/security/pkcs11/Secmod$Bytes;
0 29 4 trustValue J
2 29 6 session Lsun/security/pkcs11/Session;
15 21 7 attrs [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
23 24 7 e Lsun/security/pkcs11/wrapper/PKCS11Exception;
Exception table:
from to target type
2 21 22 Class sun.security.pkcs11.wrapper.PKCS11Exception
2 24 24 any
MethodParameters:
Name Flags
token
cert
bytes
trustValue
void <init>(sun.security.pkcs11.Token, sun.security.pkcs11.Session, long);
descriptor: (Lsun/security/pkcs11/Token;Lsun/security/pkcs11/Session;J)V
flags: (0x0000)
Code:
stack=7, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lload 3
putfield sun.security.pkcs11.Secmod$TrustAttributes.handle:J
2: iconst_4
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
iconst_0
3: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 3461571416
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
dup
iconst_1
4: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 3461571418
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
dup
iconst_2
5: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 3461571419
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
dup
iconst_3
6: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 3461571508
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
7: astore 5
start local 5 8: aload 1
getfield sun.security.pkcs11.Token.p11:Lsun/security/pkcs11/wrapper/PKCS11;
aload 2
invokevirtual sun.security.pkcs11.Session.id:()J
lload 3
aload 5
invokevirtual sun.security.pkcs11.wrapper.PKCS11.C_GetAttributeValue:(JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
9: aload 0
aload 5
iconst_0
aaload
invokevirtual sun.security.pkcs11.wrapper.CK_ATTRIBUTE.getLong:()J
putfield sun.security.pkcs11.Secmod$TrustAttributes.serverAuth:J
10: aload 0
aload 5
iconst_1
aaload
invokevirtual sun.security.pkcs11.wrapper.CK_ATTRIBUTE.getLong:()J
putfield sun.security.pkcs11.Secmod$TrustAttributes.codeSigning:J
11: aload 0
aload 5
iconst_2
aaload
invokevirtual sun.security.pkcs11.wrapper.CK_ATTRIBUTE.getLong:()J
putfield sun.security.pkcs11.Secmod$TrustAttributes.emailProtection:J
12: aload 0
aload 5
iconst_3
aaload
invokevirtual sun.security.pkcs11.wrapper.CK_ATTRIBUTE.getByteArray:()[B
putfield sun.security.pkcs11.Secmod$TrustAttributes.shaHash:[B
13: iconst_1
anewarray sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
iconst_0
14: new sun.security.pkcs11.wrapper.CK_ATTRIBUTE
dup
ldc 3461571417
invokespecial sun.security.pkcs11.wrapper.CK_ATTRIBUTE.<init>:(J)V
aastore
15: astore 5
16: aload 1
getfield sun.security.pkcs11.Token.p11:Lsun/security/pkcs11/wrapper/PKCS11;
aload 2
invokevirtual sun.security.pkcs11.Session.id:()J
lload 3
aload 5
invokevirtual sun.security.pkcs11.wrapper.PKCS11.C_GetAttributeValue:(JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V
17: aload 5
iconst_0
aaload
invokevirtual sun.security.pkcs11.wrapper.CK_ATTRIBUTE.getLong:()J
lstore 6
start local 6 18: goto 21
end local 6 StackMap locals: sun.security.pkcs11.Secmod$TrustAttributes sun.security.pkcs11.Token sun.security.pkcs11.Session long sun.security.pkcs11.wrapper.CK_ATTRIBUTE[]
StackMap stack: sun.security.pkcs11.wrapper.PKCS11Exception
19: pop
20: aload 0
getfield sun.security.pkcs11.Secmod$TrustAttributes.serverAuth:J
lstore 6
start local 6 21: StackMap locals: long
StackMap stack:
aload 0
lload 6
putfield sun.security.pkcs11.Secmod$TrustAttributes.clientAuth:J
22: return
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/security/pkcs11/Secmod$TrustAttributes;
0 23 1 token Lsun/security/pkcs11/Token;
0 23 2 session Lsun/security/pkcs11/Session;
0 23 3 handle J
8 23 5 attrs [Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;
18 19 6 c J
21 23 6 c J
Exception table:
from to target type
16 18 19 Class sun.security.pkcs11.wrapper.PKCS11Exception
Exceptions:
throws sun.security.pkcs11.wrapper.PKCS11Exception
MethodParameters:
Name Flags
token
session
handle
sun.security.pkcs11.Secmod$Bytes getHash();
descriptor: ()Lsun/security/pkcs11/Secmod$Bytes;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.security.pkcs11.Secmod$Bytes
dup
aload 0
getfield sun.security.pkcs11.Secmod$TrustAttributes.shaHash:[B
invokespecial sun.security.pkcs11.Secmod$Bytes.<init>:([B)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/pkcs11/Secmod$TrustAttributes;
boolean isTrusted(sun.security.pkcs11.Secmod$TrustType);
descriptor: (Lsun/security/pkcs11/Secmod$TrustType;)Z
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic sun.security.pkcs11.Secmod$TrustAttributes.$SWITCH_TABLE$sun$security$pkcs11$Secmod$TrustType:()[I
aload 1
invokevirtual sun.security.pkcs11.Secmod$TrustType.ordinal:()I
iaload
tableswitch { // 1 - 5
1: 5
2: 1
3: 2
4: 3
5: 4
default: 11
}
1: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.security.pkcs11.Secmod$TrustAttributes.clientAuth:J
invokevirtual sun.security.pkcs11.Secmod$TrustAttributes.isTrusted:(J)Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.security.pkcs11.Secmod$TrustAttributes.serverAuth:J
invokevirtual sun.security.pkcs11.Secmod$TrustAttributes.isTrusted:(J)Z
ireturn
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.security.pkcs11.Secmod$TrustAttributes.codeSigning:J
invokevirtual sun.security.pkcs11.Secmod$TrustAttributes.isTrusted:(J)Z
ireturn
4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.security.pkcs11.Secmod$TrustAttributes.emailProtection:J
invokevirtual sun.security.pkcs11.Secmod$TrustAttributes.isTrusted:(J)Z
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getstatic sun.security.pkcs11.Secmod$TrustType.CLIENT_AUTH:Lsun/security/pkcs11/Secmod$TrustType;
invokevirtual sun.security.pkcs11.Secmod$TrustAttributes.isTrusted:(Lsun/security/pkcs11/Secmod$TrustType;)Z
ifeq 10
6: aload 0
getstatic sun.security.pkcs11.Secmod$TrustType.SERVER_AUTH:Lsun/security/pkcs11/Secmod$TrustType;
invokevirtual sun.security.pkcs11.Secmod$TrustAttributes.isTrusted:(Lsun/security/pkcs11/Secmod$TrustType;)Z
ifeq 10
7: aload 0
getstatic sun.security.pkcs11.Secmod$TrustType.CODE_SIGNING:Lsun/security/pkcs11/Secmod$TrustType;
invokevirtual sun.security.pkcs11.Secmod$TrustAttributes.isTrusted:(Lsun/security/pkcs11/Secmod$TrustType;)Z
ifeq 10
8: aload 0
getstatic sun.security.pkcs11.Secmod$TrustType.EMAIL_PROTECTION:Lsun/security/pkcs11/Secmod$TrustType;
invokevirtual sun.security.pkcs11.Secmod$TrustAttributes.isTrusted:(Lsun/security/pkcs11/Secmod$TrustType;)Z
ifeq 10
9: iconst_1
ireturn
StackMap locals:
StackMap stack:
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/pkcs11/Secmod$TrustAttributes;
0 12 1 type Lsun/security/pkcs11/Secmod$TrustType;
MethodParameters:
Name Flags
type
private boolean isTrusted(long);
descriptor: (J)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
ldc 3461563218
lcmp
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/pkcs11/Secmod$TrustAttributes;
0 2 1 l J
MethodParameters:
Name Flags
l
static int[] $SWITCH_TABLE$sun$security$pkcs11$Secmod$TrustType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic sun.security.pkcs11.Secmod$TrustAttributes.$SWITCH_TABLE$sun$security$pkcs11$Secmod$TrustType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic sun.security.pkcs11.Secmod$TrustType.values:()[Lsun/security/pkcs11/Secmod$TrustType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic sun.security.pkcs11.Secmod$TrustType.ALL:Lsun/security/pkcs11/Secmod$TrustType;
invokevirtual sun.security.pkcs11.Secmod$TrustType.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic sun.security.pkcs11.Secmod$TrustType.CLIENT_AUTH:Lsun/security/pkcs11/Secmod$TrustType;
invokevirtual sun.security.pkcs11.Secmod$TrustType.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic sun.security.pkcs11.Secmod$TrustType.CODE_SIGNING:Lsun/security/pkcs11/Secmod$TrustType;
invokevirtual sun.security.pkcs11.Secmod$TrustType.ordinal:()I
iconst_4
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic sun.security.pkcs11.Secmod$TrustType.EMAIL_PROTECTION:Lsun/security/pkcs11/Secmod$TrustType;
invokevirtual sun.security.pkcs11.Secmod$TrustType.ordinal:()I
iconst_5
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic sun.security.pkcs11.Secmod$TrustType.SERVER_AUTH:Lsun/security/pkcs11/Secmod$TrustType;
invokevirtual sun.security.pkcs11.Secmod$TrustType.ordinal:()I
iconst_3
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
dup
putstatic sun.security.pkcs11.Secmod$TrustAttributes.$SWITCH_TABLE$sun$security$pkcs11$Secmod$TrustType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
}
SourceFile: "Secmod.java"
NestHost: sun.security.pkcs11.Secmod
InnerClasses:
private Bytes = sun.security.pkcs11.Secmod$Bytes of sun.security.pkcs11.Secmod
TrustAttributes = sun.security.pkcs11.Secmod$TrustAttributes of sun.security.pkcs11.Secmod
public final TrustType = sun.security.pkcs11.Secmod$TrustType of sun.security.pkcs11.Secmod